CoolKit-Technologies / ha-addon

Apache License 2.0
261 stars 119 forks source link

Switch.Toggle service isn't working on Ewelink switches even from HA #52

Closed peterterbe closed 2 years ago

peterterbe commented 2 years ago

If I test my Ewelink switches from the HA Developer tools/Services, they are not working with switch.toggle. Services switch.turn_on and switch.turn_off are working however. Other (non-ewelink) switches are working with switch.toggle as well as from the app and from the watch, too.

I was about to use apps on my WearOS watch. Ewelink switches did nothing from the official wearos app (beta) so I had opened issue1954 there and slowly it became clear that it is caused by the addon. It wasn't working from the Home Slide app either (it's an unofficial HA client).

Tested versions: Ewelink Addon 1.2.3 Home Assistant OS 7.0.rc1 Home Assistant Android client beta-1744-9fd3164-full

coolkit-tony commented 2 years ago

Hi, @perriert. The ha-addon doesn't support switch.toggle yet.

peterterbe commented 2 years ago

Hi, @perriert. The ha-addon doesn't support switch.toggle yet.

Thanks! Are there any plans to support it in the near future?

coolkit-tony commented 2 years ago

Hi, @perriert. My current task is to refactor some features that might cause bugs. This may take some time.

AlPinkish commented 2 years ago

Hi @perriert , I don't know if you need a workaround for this problem, in any case you can find my simple solution on HA community

niezw commented 2 years ago

suggest you refer to this to deal with