[JS+Editor Module] Light Rings #2054
Airblader
started this conversation in
Share your Modules
Replies: 1 comment
-
|
If you have a Hue Sync Box with a fairly large entertainment area and want to exclude the participating lights from the light ring as they will not report correct color information anyway, you can set up an automation like the following. Note that this requires Spook for the actions to add or remove labels from entities. Optionally combine with @Clooos amazing Bubble Badges module to add a badge when the sync box is active. 🙂
Automation YAMLalias: Ignore streaming lights in light rings
triggers:
- event_type: state_changed
trigger: event
conditions:
- condition: template
value_template: "{{ trigger.event.data.entity_id.startswith('light.') }}"
actions:
- choose:
- conditions:
- condition: template
value_template: "{{ trigger.event.data.new_state.attributes.mode == 'streaming' }}"
sequence:
- action: homeassistant.add_label_to_entity
data:
label_id:
- light_rings_ignore
entity_id: "{{ trigger.event.data.entity_id }}"
- conditions:
- condition: template
value_template: "{{ trigger.event.data.new_state.attributes.mode != 'streaming' }}"
sequence:
- action: homeassistant.remove_label_from_entity
data:
label_id:
- light_rings_ignore
entity_id: "{{ trigger.event.data.entity_id }}"
mode: parallel
Badge YAML```yaml bubble_badges: badges: - color: primary name: Hue Syncbox target: main_icon icon: mdi:television-ambient-light animation: pulse condition: - condition: state entity_id: light.tv_ambilight state: - "on" enabled: false - condition: state entity_id: light.tv_ambilight state: - streaming attribute: mode ``` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Light Rings
Version: v1.1.0
Creator: Airblader
Important
Supported cards:
Adds a colored ring around the card's icon representing the light colors.
This module can be easily configured through the UI, and should work fine with defaults for most use cases.
Notes
Example style to make light rings pop more
Configuration
🧩 Get this Module
Screenshot:
Changelog
v1.1.0 (2025-12-27)
light_rings_ignoreis always excluded).colors.min_colorstocolors.min_unique(existing configurations will continue to work).colors.color_thresholdtocolors.threshold(existing configurations will continue to work).v1.0.0 (2025-12-26)
Initial release.
Beta Was this translation helpful? Give feedback.
All reactions