Some of my switches have a "plug with line through" icon, what's it mean?

Some of my (Tuya) sockets and switches appear with this icon and don’t work properly. What does it mean? I know that if it’s greyed out the device isn’t online, but this one I don’t understand.

It was working OK until sometime earlier this week.

If I click the button sometimes the device will change state, other times it won’t. They work fine in the Tuya app on my phone.

I’m using:
Home Assistant OS 7.0.rc1
supervisor-2021.10.8
core-2021.11.5

On a VM running inside Proxmox.

I don’t think the icon has anything to do with the functionality. In fact, you can change the icon to whatever you want! Some entities will update their icons to represent their current state, like a turned-off plug. Does the icon change when the switch is turned on?

Are you integrating those devices through the Tuya cloud integration? I haven’t used that one, personally, but other cloud integrations I have used can be similarly spotty.

It’s possible the Tuya cloud integration is having problems. When I click the button it changes state but the icon doesn’t, but then after a second or so switches back to the ‘off’ state and the device being controlled doesn’t change. Except randomly it does. I don’t see any errors in the logs so it probably is a problem beyond my control I guess.

I wish there was alternate firmware for these devices so they didn’t need any cloud services and HA could just control them directly.

Funny you should say that :slight_smile: Your plugs may be too up-to-date though, Tuya doesn’t like people converting their hardware over and pushes out firmware updates to counter it.

This is because HA is sending the command and expecting confirmation that it worked. When it doesn’t get that confirmation, it falls back to the original state. Then, when it finally gets confirmation that the command was executed successfully, it can update the state and state representations. This just further points to it being a delay caused by Tuya cloud.

Pretty much. Just avoid cloud devices in the future, if you can.