Last active
March 23, 2022 19:43
-
-
Save nathanfiscus/d9d5b9d925c4dff6ca226eebdf186fb4 to your computer and use it in GitHub Desktop.
Inovelli LZW45 Color Transition Workaround Home Assistant Blueprint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Inovelli LZW45 Color Change Workaround | |
description: Works around an issue with the Inovelli LZW45 during a color change with a transition. | |
domain: automation | |
input: | |
target_light: | |
name: Light Strip Entity | |
description: LZW45 Strip to target with fix | |
selector: | |
entity: | |
domain: light | |
trigger: | |
- platform: state | |
entity_id: !input target_light | |
attribute: rgb_color | |
condition: | |
- condition: state | |
entity_id: !input target_light | |
attribute: color_mode | |
state: hs | |
action: | |
- service: light.turn_on | |
data: | |
transition: 0 | |
rgb_color: | |
- '{{ trigger.to_state.attributes.rgb_color[0] }}' | |
- '{{ trigger.to_state.attributes.rgb_color[1] }}' | |
- '{{ trigger.to_state.attributes.rgb_color[2] }}' | |
target: | |
entity_id: !input target_light |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment