- platform: history_stats name: Jeff Driving Time entity_id: sensor.jeff_driving state: 'on' type: time end: '{{ now() }}' duration: days: 7 - platform: history_stats name: Kat Driving Time entity_id: sensor.kat_driving state: 'on' type: time end: '{{ now() }}' duration: days: 7 - platform: history_stats name: Speech time entity_id: media_player.ha_speaker state: 'playing' type: time end: '{{ now() }}' duration: days: 8 - platform: history_stats name: AppleTV time entity_id: media_player.home_theater state: 'playing' type: time end: '{{ now() }}' duration: hours: 24 - platform: history_stats name: Game time entity_id: media_player.playstation_4 state: 'playing' type: time end: '{{ now() }}' duration: hours: 24 - platform: history_stats name: Roku time entity_id: media_player.bedroom state: 'playing' type: time end: '{{ now() }}' duration: hours: 24 - platform: history_stats name: Roku Theater time entity_id: media_player.roku_premiere state: 'playing' type: time end: '{{ now() }}' duration: hours: 24 - platform: history_stats name: Washer Time entity_id: sensor.washer_status state: 'running' type: time end: '{{ now() }}' duration: days: 7 - platform: statistics name: Outside Temp Stats entity_id: sensor.back_porch sampling_size: 500 - platform: statistics name: Garage Temp Stats entity_id: sensor.garage sampling_size: 500 - platform: min_max name: Inside Temp Stats entity_ids: - sensor.craft_room_temperature - sensor.kitchen_temperature - sensor.living_room_temperature - sensor.master_bedroom_temperature - sensor.skylar_room_temperature - platform: history_stats name: Outside Lights entity_id: group.outside_lights state: 'on' type: time end: '{{ now() }}' duration: hours: 24 - platform: history_stats name: Heating Last Day entity_id: sensor.hvac_action state: 'heating' type: time end: '{{ now() }}' duration: hours: 24 - platform: history_stats name: Heating Last Month entity_id: sensor.hvac_action state: 'heating' type: time end: '{{ now() }}' duration: days: 30 - platform: history_stats name: Cooling Last Day entity_id: sensor.hvac_action state: 'cooling' type: time end: '{{ now() }}' duration: hours: 24 - platform: statistics name: Wind Speed Stats entity_id: sensor.nws_current_windspeed sampling_size: 500 - platform: statistics name: Visibility Stats entity_id: sensor.nws_current_visibility sampling_size: 500 - platform: statistics name: Temperature Stats entity_id: sensor.nws_current_temperature sampling_size: 500 - platform: statistics name: Humidity Stats entity_id: sensor.nws_current_humidity sampling_size: 500 - platform: statistics name: Washer Power Stats entity_id: sensor.washer_power sampling_size: 500 - platform: history_stats name: Cooling Last Month entity_id: sensor.hvac_action state: 'cooling' type: time end: '{{ now() }}' duration: days: 30 - platform: aarlo monitored_conditions: - last_capture - total_cameras - battery_level - captured_today - signal_strength - platform: template sensors: sensor_count: friendly_name: 'Number of Sensors' value_template: >- {{ states.sensor | list | count }} automation_count: friendly_name: 'Number of Automations' value_template: >- {{ states.automation| list | count }} script_count: friendly_name: 'Number of Scripts' value_template: >- {{ states.script | list | count }} binary_sensor_count: friendly_name: 'Number of Binary Sensors' value_template: >- {{ states.binary_sensor | list | count }} tracker_count: friendly_name: 'Number of Devices' value_template: >- {{ states.device_tracker| list | count }} lights_count: friendly_name: 'Number of Lights' value_template: >- {{ states.light | list | count }} switches_count: friendly_name: 'Number of Switches' value_template: >- {{ states.switch | list | count }} camera_count: friendly_name: 'Number of online Cameras' value_template: >- {{ states.camera | list | count }} entities_count: friendly_name: 'Number of Entities' value_template: >- {{ states | length }} hvac_action: friendly_name: 'HVAC Action' value_template: "{{states.climate.home.attributes.hvac_action}}" today_is: friendly_name: 'Today is' value_template: "{{ ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'][now().weekday()] }}" holiday: friendly_name: 'Holiday' value_template: >- {% if states.calendar.holidays_in_united_states.state == 'on' %} {{ states.calendar.holidays_in_united_states.attributes.message }} {% elif states.calendar.anchorage_holidays.state == 'on' %} {{ states.calendar.anchorage_holidays.attributes.message }} {% else %} none {% endif %} school_tomorrow: friendly_name: 'School Tomorrow' value_template: >- {%- set test=(as_timestamp(now())+ (86400)) | timestamp_custom("%Y-%m-%d",true) %} {% if states.calendar.skylar_school.attributes.start_time == test + " 07:35:00" %} on {% else %} off {% endif %}