Untitled
unknown
plain_text
10 months ago
694 B
10
Indexable
- platform: template
binary_sensors:
boiler_appliance_in_use:
friendly_name: "Boiler Appliance In Use"
value_template: "{{ states('sensor.boiler_power') | float > 10 }}"
- platform: history_stats
name: "Boiler Usage Time"
entity_id: binary_sensor.boiler_appliance_in_use
state: "on"
type: time
start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
utility_meter:
boiler_usage_time_daily:
source: sensor.boiler_usage_time
cycle: daily
boiler_usage_time_weekly:
source: sensor.boiler_usage_time
cycle: weekly
boiler_usage_time_monthly:
source: sensor.boiler_usage_time
cycle: monthly
Editor is loading...
Leave a Comment