Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanfiscus/d9d5b9d925c4dff6ca226eebdf186fb4 to your computer and use it in GitHub Desktop.
Save nathanfiscus/d9d5b9d925c4dff6ca226eebdf186fb4 to your computer and use it in GitHub Desktop.
Inovelli LZW45 Color Transition Workaround Home Assistant Blueprint
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