Philips Hue
Showing the brightness and the hue of a room, zone or single lamp
About this flow
| System | Home Assistant |
|---|---|
| AWTRIX version | AWTRIX 3 |
| Topic | Smarthome |
| Built by | Euphonique |
| File | 2vGR53gy5lkJ.yaml · 1.2 KB |
| Icons | — |
| Published | 16 Jan 2025 · updated 16 Jan 2025 |
| Downloads | 16 |
Is this your flow?
If you created this flow, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.
You need the Philips Hue integration.
Just change the "light.wohnzimmer_2" entity to the entity of a room, zone or light in your home.
Also remember to change the topic to your awtrix id.
2vGR53gy5lkJ.yaml
alias: Licht Wohnzimmer
description: ""
triggers:
- trigger: state
entity_id:
- light.wohnzimmer_2
attribute: brightness
conditions: []
actions:
- action: mqtt.publish
metadata: {}
data:
evaluate_payload: false
qos: 0
retain: false
payload: >-
{"icon": "lightbulb",
"repeat": 1,
"center": true,
"stack": false,
"color": "#{{'%02x%02x%02x' | format( state_attr('light.wohnzimmer_2','rgb_color')[0],state_attr('light.wohnzimmer_2','rgb_color')[1], state_attr('light.wohnzimmer_2','rgb_color')[2])}}",
"progressC":"#{{'%02x%02x%02x' | format(
state_attr('light.wohnzimmer_2','rgb_color')[0],state_attr('light.wohnzimmer_2','rgb_color')[1],
state_attr('light.wohnzimmer_2','rgb_color')[2])}}",
"progressBC": "#666666",
"progress": "{{(state_attr('light.wohnzimmer_2', 'brightness') / 255 *
100) | int }}",
"pushIcon": 2,
"duration": 3,
"scrollSpeed": 65,
"text": "{{(state_attr('light.wohnzimmer_2', 'brightness') / 255 * 100) | int }}%"
}
topic: awtrix/notify
mode: single
More flows for Home Assistant or Smarthome
Something wrong with this flow? Report it.