vgijssel / setup

Workstation and server setup
MIT License
8 stars 0 forks source link

Lights turn on if Shelly becomes unavailable #645

Open mvgijssel opened 8 months ago

mvgijssel commented 8 months ago

This happens because the presence blueprint doesn’t take into consideration unavailable entities which have recently changed and are used as a presence hint like the Shelly or Eve door sensors.

Using selectattr we can filter on only available entities and check if they have changed. Though this means if they come available again that the lights are also turned on again. Reason this happens is the time trigger, which tries to reconcile state in case of outage or other weird things.

Let’s try to remove the time pattern and see if that resolves things for now.