I have spent the last half day reading through various threads on Harmony Switches and I have followed closely some of the “solution” messages, such as here or here and as much as I am convinced that I am following suggestions, I just don’t get it to work
I have a ui-lovelace.yaml which call a switch in the switches.yaml:
you can’t turn them off because you are using the wrong service. You are turning on an activity. The PowerOff activity. Would you use remote.turn_on or remote.turn_off to turn on an activity? The answer is remote.turn_on.
Intriguing thought which sounds very logical - but it does not work
tat was a thought I had before based on a logical approach, so turning off remote-turn_on makes a lot of sense, but still it doe not do what it is asked for
Maybe a word of explanation; is_stae provides on/off status of switch, not what activity is it harmony currently executing. Checking detailed attribute via is_stae_attr gives more info, like activity name. In your code switching on works because current reported status is on or off, so not activity you want to switch to. Switching off does not work, because switch thinks that this activity is not active, so does not execute turn_off part of code… This is my understanding of how it works. Hope will work for you too
That was a very understandable description and answered a question on my side with regards to the difference of both - unfortunately, it does not change anything, still not working
post your harmony.conf that is created in your config folder. Also, are you restarting after making the changes? This isn’t a live reload, you need to restart your config.