-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsensors.yaml
30 lines (30 loc) · 860 Bytes
/
sensors.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- platform: history_stats
name: A/C ON today
entity_id: binary_sensor.thermostat_cooler
state: "on"
type: time
start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
- platform: history_stats
name: Furnace ON today
entity_id: binary_sensor.thermostat_heater
state: "on"
type: time
start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
- platform: history_stats
name: Hot Water Heater ON today
entity_id: binary_sensor.hot_water_heater_state
state: "on"
type: time
start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
#- platform: powercalc
# entity_id: sensor.cyberpower_load
# fixed:
# power: "{{states('sensor.cyberpower_load') | int / 100 * 815}}"