diff --git a/sensors/house_stats.yaml b/sensors/house_stats.yaml index 9f98b94..01dc216 100644 --- a/sensors/house_stats.yaml +++ b/sensors/house_stats.yaml @@ -114,6 +114,14 @@ states.fan.master_bedroom_air_conditioner ] %} {{ 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 name: Last Boot