Accommodations for new Sonoff plugs
This commit is contained in:
@ -136,6 +136,8 @@ influxdb:
|
|||||||
- fan
|
- fan
|
||||||
- person
|
- person
|
||||||
entity_globs:
|
entity_globs:
|
||||||
|
- sensor.*power
|
||||||
|
- sensor.*energy
|
||||||
- sensor.*energy_sensor
|
- sensor.*energy_sensor
|
||||||
- sensor.*power_sensor
|
- sensor.*power_sensor
|
||||||
- sensor.*cpu*
|
- sensor.*cpu*
|
||||||
|
@ -69,7 +69,9 @@
|
|||||||
states.light.master_bedroom_closet,
|
states.light.master_bedroom_closet,
|
||||||
states.light.kallen_bedroom_wall,
|
states.light.kallen_bedroom_wall,
|
||||||
states.light.kallen_bedroom_overhead,
|
states.light.kallen_bedroom_overhead,
|
||||||
states.light.emma_bedroom_light
|
states.light.emma_bedroom_light,
|
||||||
|
states.light.front_porch_light,
|
||||||
|
states.light.front_window_christmas_lights
|
||||||
] %}
|
] %}
|
||||||
{{ lights | selectattr('state','eq','on') | list | count }}
|
{{ lights | selectattr('state','eq','on') | list | count }}
|
||||||
first_floor_lights_on:
|
first_floor_lights_on:
|
||||||
@ -134,7 +136,8 @@
|
|||||||
unit_of_measurement: 'on'
|
unit_of_measurement: 'on'
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{% set lights = [
|
{% set lights = [
|
||||||
states.light.front_porch_light
|
states.light.front_porch_light,
|
||||||
|
states.light.front_window_christmas_lights
|
||||||
] %}
|
] %}
|
||||||
{{ lights | selectattr('state','eq','on') | list | count }}
|
{{ lights | selectattr('state','eq','on') | list | count }}
|
||||||
climate_devices_installed:
|
climate_devices_installed:
|
||||||
|
Reference in New Issue
Block a user