Start timer from python script

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'})
1 Like

Thank you! I forgot to use the " " around the entity!