HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: petediscrete on January 05, 2016, 04:29:04 PM
-
While trying to configure my IP Camera as a motion detect sensor I noticed this complier warning in the Security Alarm system
TC,15,13: `HomeGenie.Automation.Scripting.ProgramHelper.AddInputField(string, string, string)' is obsolete: `use 'Program.AddOption(<field>, <defaultValue>, <description>, <type>)' instead'
I didnt make any changes to the Security Alarm System so I'm curious to know why this is appearing.
-
This is a standard warning indicating that the "AddInputField" function is old and should be replaced with the "AddOption" function. It currently works either way but at some point I assume Gene will fully deprecate the old function call. You can leave it for now or update to the new function.
-
As long as it doesn't cause me a problem I've no issue there.