Since many entities like command switches, arduino, etc cannot remember state, is there a way to run a script on startup to set state programmatically.
For example I would like to create a python script with assumed values:
api = remote.API(‘localhost’, ‘’)
remote.set_state(api, ‘switch.refridgerator’, new_state=STATE_ON)
and have this run at startup