Created
October 24, 2025 18:55
-
-
Save j4velin/78aa893f1223af2309f316d2e2d4b4cf to your computer and use it in GitHub Desktop.
HA Blueprint to switch a Hue light from KNX
This file contains hidden or 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: Switch Hue light from KNX | |
| description: Turn a Hue light on or off from a KNX telegram | |
| domain: automation | |
| input: | |
| knx_address: | |
| name: KNX group address to switch the light | |
| target_light: | |
| name: Hue light entity to switch | |
| selector: | |
| target: | |
| entity: | |
| - domain: light | |
| triggers: | |
| - domain: knx | |
| device_id: # hardcode knx device id here | |
| type: telegram | |
| trigger: device | |
| group_value_write: true | |
| incoming: true | |
| destination: !input knx_address | |
| actions: | |
| - if: | |
| - condition: template | |
| value_template: "{{trigger.value == 'on'}}" | |
| then: | |
| - action: light.turn_on | |
| target: !input target_light | |
| else: | |
| - action: light.turn_off | |
| target: !input target_light |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment