Created
July 19, 2024 12:52
-
-
Save rdrouche/1105d76e2f447eebb8fd499e7b7a018c to your computer and use it in GitHub Desktop.
Home Assistant - Template sensor sample
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
- sensor: | |
- name: "TV Conso" | |
unit_of_measurement: "kWh" | |
device_class: "energy" | |
state_class: "total_increasing" | |
state: "{{ states('sensor.pc_tv_today_energy') }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment