Is it possible to disable (whether on a dashboard or in the entity itself) toggling an entity state based on another entity's state? I have a smart socket, and I want to disable someone (even myself) turning the socket on or off, if a certain condition is met. I can disable a button card or hide it or whatever based on a condition, but then I can always still go into the integration and toggle the socket there. Any thoughts?
#Disable entity change based on another state
1 messages · Page 1 of 1 (latest)
Just... Don't go into the integration and toggle it there
But no, there's no service call or anything to enable/disable entities. The best you could do is an automation that watches that entity changing and when it shouldn't change, toggles it back
Kindof assumed it. I kept it disabled on the dashboard, and will indeed just avoid it in the entity itself. Basically want to avoid turning off my 3D printer while it's printing 😄