I have defined a Virtual on/off device which assigns the onOffState to a variable - 'homeActive'. A Python script file is actioned in an action group assigned to the device
Is the variable automatically created as a result of this assignment?
How should the variable be referenced within the script file?
A newbie Python question, how is the entry point into the Python script declared at which the script will start when called by the server?
Thanks,