Diagnostic sensors to figure out some Adaptive Lighting weirdness
This commit is contained in:
@ -247,6 +247,32 @@ input_text:
|
|||||||
tina_desk_selected_scene:
|
tina_desk_selected_scene:
|
||||||
name: Tina Desk Selected Scene
|
name: Tina Desk Selected Scene
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: template
|
||||||
|
sensors:
|
||||||
|
basement_studio_lights_brightness_actual:
|
||||||
|
friendly_name: "Basement Studio Lights - Brightness Actual"
|
||||||
|
value_template: >
|
||||||
|
{% set current = state_attr('light.basement_studio_lights','brightness') %}
|
||||||
|
{{ ((current / 255) * 100) | float | round(2) }}
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
icon_template: mdi:brightness-percent
|
||||||
|
basement_studio_lights_brightness_intended:
|
||||||
|
friendly_name: "Basement Studio Lights - Brightness Intended"
|
||||||
|
value_template: "{{ state_attr('switch.adaptive_lighting_basement_studio','brightness_pct') | float | round(2) }}"
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
icon_template: mdi:brightness-percent
|
||||||
|
basement_studio_lights_colortemp_actual:
|
||||||
|
friendly_name: "Basement Studio Lights - Colortemp Actual"
|
||||||
|
value_template: "{{ state_attr('light.basement_studio_lights','color_temp_kelvin') | int }}"
|
||||||
|
unit_of_measurement: 'K'
|
||||||
|
icon_template: mdi:thermometer-lines
|
||||||
|
basement_studio_lights_colortemp_intended:
|
||||||
|
friendly_name: "Basement Studio Lights - Colortemp Intended"
|
||||||
|
value_template: "{{ state_attr('switch.adaptive_lighting_basement_studio','color_temp_kelvin') | int }}"
|
||||||
|
unit_of_measurement: 'K'
|
||||||
|
icon_template: mdi:thermometer-lines
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: animated_scenes
|
- platform: animated_scenes
|
||||||
name: Christmas
|
name: Christmas
|
||||||
|
Reference in New Issue
Block a user