Closed TA2k closed 3 years ago
I saw this in a different situation, too (I think it was effect or something). Not really sure which way to go here... Maybe best would be to try to change adapters to use "switch.light" or "switch.power" for on/off in the long run. So maybe add an issue in sonoff?
You can try to change the role of "POWER" to "switch.light" which should then be detected as "ON_LIGHT" and used as preferred state (at least in lovelace for example). Maybe that solves the issue already?
Just remove the role from the wrong one and that is all
sonoff lights has 3 states with type power switch. type detector recognize the wrong one https://forum.iobroker.net/assets/uploads/files/1565189289324-sonoff.0.wohnzimmergluehbirne.json