Home App Sync

Well in your template switch definition, there is some logic, right?

Does it work if you call the service from the developer tools, Service section in Home Assistant?
Looking at the above, I would expect you would need some kind of automation, but I have to admit, I have not worked with template switches, but see that there are some references :slight_smile:

Hope these links help somewhat!