Added outdoor lights on sensor for the hell of it
This commit is contained in:
@ -114,6 +114,14 @@
|
|||||||
states.fan.master_bedroom_air_conditioner
|
states.fan.master_bedroom_air_conditioner
|
||||||
] %}
|
] %}
|
||||||
{{ fans | selectattr('state','eq','on') | list | count }}
|
{{ fans | selectattr('state','eq','on') | list | count }}
|
||||||
|
current_outdoor_lights_on:
|
||||||
|
friendly_name: Current Outdoor Lights On
|
||||||
|
unit_of_measurement: 'on'
|
||||||
|
value_template: >-
|
||||||
|
{% set lights = [
|
||||||
|
states.light.front_porch_light
|
||||||
|
] %}
|
||||||
|
{{ lights | selectattr('state','eq','on') | list | count }}
|
||||||
|
|
||||||
- platform: uptime
|
- platform: uptime
|
||||||
name: Last Boot
|
name: Last Boot
|
||||||
|
Reference in New Issue
Block a user