#why it is not valid when it is defined
1 messages · Page 1 of 1 (latest)
Because it's not
Look where I said and you'll see that the entity_id is a different thing
Once you use the actual entity ID in your template it'll magically start working
Odds are it's
binary_sensor.keenetic_iphone_lev_schedule
Thanks. I've seen that dashes are just replaced with underscores.
Anyway, I've changed the name to keenetic_iphone_lev_schedule, but the result is the same - the switch state changes to off after a few seconds.
Then check the template in the templates too
show your template developer tools