I am banging my head on the wall with this- it should be simple.
Basically, I just want to toggle a switch from an ESPHome device.
Sounds simple, so why is it not working?
Dont feel bad, I routinely forget about that too. I know back in the day, you didn’t have to enable service calls. I think this was added sometime last year and it seems like it slid under a lot of people’s radar as well.
What confounded me even more was that I have a currently-working 4-ch relay device that is working. I added this device some three or four years ago, probably before the change.
It probably saves some resources by not enabling it for every device, but it would be nice if the editor or the compile could warn that I have service calls in my code that require the option be turned on.
Ya, i had some older devices still working too. HA service calls aren’t something I use a lot so, it never fails that when I do, I usually forget to enable them for that node.
Im not really sure what the reasoning is for doing it. I always assumed it was for “security” so anyone with a tech savy 16 year old neighbor cant prank you all night by sending malicious service calls but, you could be right too, it may be a resource reason.
Ya, that makes sense. I could absolutely see some $hit head’s gaining access to an esp node and then causing as much chaos as possible. To be honest if my neighbor ran HA too, it would certainly be tempting to play some pranks.