Adding more sensors and tweets around HA stats
This commit is contained in:
parent
97bc42070e
commit
0355d18068
|
@ -18,6 +18,11 @@ House Conditions:
|
|||
- sensor.accurite_garage_temperature
|
||||
- sensor.accurite_garage_humidity
|
||||
|
||||
Outside Lights:
|
||||
- switch.driveway_light
|
||||
- switch.front_porch
|
||||
- light.side_door_light
|
||||
|
||||
External Doors:
|
||||
- binary_sensor.side_door
|
||||
- binary_sensor.front_door
|
||||
|
|
|
@ -80,6 +80,49 @@
|
|||
- total_cameras
|
||||
- battery_level
|
||||
- signal_strength
|
||||
- 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: min_max
|
||||
name: Cloud Coverage Stats
|
||||
entity_ids: sensor.dark_sky_cloud_coverage
|
||||
- platform: history_stats
|
||||
name: Cooling Last Month
|
||||
entity_id: sensor.hvac_action
|
||||
state: 'cooling'
|
||||
type: time
|
||||
end: '{{ now() }}'
|
||||
duration:
|
||||
days: 30
|
||||
- platform: template
|
||||
sensors:
|
||||
sensor_count:
|
||||
|
@ -117,4 +160,10 @@
|
|||
entity_id: []
|
||||
value_template: >-
|
||||
{{ states.camera | list | count }}
|
||||
hvac_action:
|
||||
friendly_name: 'HVAC Action'
|
||||
entity_id: []
|
||||
value_template: >-
|
||||
{{states.climate.home.attributes.hvac_action}}
|
||||
|
||||
|
||||
|
|
|
@ -10,7 +10,14 @@
|
|||
"I am running Home Assistant version {{ states.sensor.installed_version.state }} (https://github.com/thejeffreystone/home-assistant-configuration)"
|
||||
"My configuration is at https://github.com/thejeffreystone/home-assistant-configuration and currently has {{ states.sensor.home_assistant_configuration.attributes.stargazers}} stargazers. You could be one too.",
|
||||
"My configuration is at https://github.com/thejeffreystone/home-assistant-configuration .The last commit was {{ states.sensor.home_assistant_configuration.attributes.latest_commit_message}}.",
|
||||
"The average temperature inside Anchorage House is {{states.sensor.inside_temp_stats.attributes.mean | round}} degrees fahrenheit"
|
||||
"The average temperature inside Anchorage House is {{states.sensor.inside_temp_stats.attributes.mean | round}} degrees fahrenheit.",
|
||||
"I have been running non-stop for {{states.sensor.time_online.state}} days",
|
||||
"We have watched the Roku for a total of {{states.sensor.roku_theater_time.attributes.value}} in the last 24 hours.",
|
||||
"The outside lights were on for a total of {{states.sensor.outside_lights.attributes.value}} in the last 24 hours.",
|
||||
"The average temperature in the garage is {{states.sensor.garage_temp_stats.attributes.mean | round}} degrees fahrenheit.",
|
||||
"The HVAC has cooled the house for {{states.sensor.cooling_last_month.attributes.value}} and heated for {{states.sensor.heating_last_month.attributes.value}} in the last month",
|
||||
"The HVAC has cooled the house for {{states.sensor.cooling_last_day.attributes.value}} and heated for {{states.sensor.heating_last_day.attributes.value}} in the last 24 hours",
|
||||
"Clouds cover {{states.sensor.garage_temp_stats.attributes.mean | round}} of the sky above Anchorage House on average."
|
||||
] | random -}}
|
||||
{%- endmacro -%}
|
||||
{%- macro getTags() -%}
|
||||
|
|
Loading…
Reference in New Issue