Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sensor:
- #####################################################
- ##=================== Caldaia ===================##
- #####################################################
- ##++++++++++++++++++++ Tempo ++++++++++++++++++++##
- - platform: history_stats
- name: Tempo Caldaia oggi
- entity_id: binary_sensor.stato_riscaldamento
- state: "on"
- type: time
- start: "{{ now().replace(hour=0, minute=0, second=0) }}"
- end: "{{ now() }}"
- #####################################################
- ##============== Tempo leggibile ================##
- #####################################################
- - platform: template
- sensors:
- ##++++++++++++++++++++ Caldaia +++++++++++++++++++##
- tempo_caldaia:
- friendly_name: "Tempo Caldaia"
- value_template: "{{ state_attr('sensor.tempo_caldaia_oggi','value') | default }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement