Entity Condition


I’d like to suggest having the possibility of a condition on entities in order to prevent an action if the condition is not met.

Toggle Smart Plug
Condition: TV must be off

if condition is not met, it does not work or even the switch is blocked.

I think this could be very useful.

BR Raffael

This doesn’t make a lot of sense, I’m afraid. :thinking:

Entities have states. Other things perform actions depending on the state of the entity - automations, scripts, templates - that’s where the conditions belong.

In your example, the condition goes with “toggle”, not with smart plug.

1 Like

It is probably a dashboard problem. With automations you can add all types of conditions.
There is probably a custom card for this.

1 Like