Created
June 15, 2024 17:51
-
-
Save ppdms/54e4e6eb40d7aadac3db1c692fca3e0a to your computer and use it in GitHub Desktop.
Home Assistant configuration.yml snippet for Adaptive Lighting statistics
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
| adaptive_lighting: | |
| template: | |
| - sensor: | |
| - name: "Sun Position" | |
| unit_of_measurement: "°" | |
| state: "{{ state_attr('switch.adaptive_lighting', 'sun_position') }}" | |
| state_class: measurement | |
| - name: "Adaptive Color Temperature" | |
| unit_of_measurement: "K" | |
| state: "{{ state_attr('switch.adaptive_lighting', 'color_temp_kelvin') }}" | |
| state_class: measurement | |
| - name: "Adaptive Brightness" | |
| unit_of_measurement: "%" | |
| state: "{{ state_attr('switch.adaptive_lighting', 'brightness_pct') }}" | |
| state_class: measurement |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment