I have an automation that opens/closes blinds when the brighness on a dimmer changes. Here is the trigger:
id: dimmer_change
entity_id: light.master_bedroom_blinds
attribute: brightness
not_from:
- unavailable
not_to:
- unavailable
for:
milliseconds: 100```
Weirdly, this automation triggers when the state is becoming unavailabe. Here is the to_state in a recent trace:
```to_state:
entity_id: light.master_bedroom_blinds
state: unavailable
attributes:
supported_color_modes:
- brightness
friendly_name: Master Bedroom Blinds
supported_features: 32
last_changed: '2026-03-11T19:29:57.592759+00:00'
last_reported: '2026-03-11T19:29:57.592759+00:00'
last_updated: '2026-03-11T19:29:57.592759+00:00'
context:
id: 01KKF615AR0DE6A0SPGD8S6YZV
parent_id: null
user_id: null```
Any idea why this is happening? Can I not mix and match all the different attrbutes of this trigger? Or is this a bug?