How can I start a timer in Hassio from a python script? located in the python_script folder.
can’t get this to work:
hass.services.call(‘timer’, ‘start’, {‘entity_id’: timer.humidity_1234}, False)
Thanks.
How can I start a timer in Hassio from a python script? located in the python_script folder.
can’t get this to work:
hass.services.call(‘timer’, ‘start’, {‘entity_id’: timer.humidity_1234}, False)
Thanks.
hass.services.call('timer', 'start', {'entity_id' : 'timer.humidity_1234'})
Thank you! I forgot to use the " " around the entity!