Created some new History stats for future tweets #321

This commit is contained in:
ccostan 2018-03-01 15:39:35 -05:00
parent db155466cd
commit 88c8de8c22
1 changed files with 20 additions and 0 deletions

View File

@ -41,6 +41,15 @@ sensor:
duration: duration:
hours: 24 hours: 24
- platform: history_stats
name: TV time
entity_id: media_player.living_room_ultra
state: 'playing'
type: time
end: '{{ now() }}'
duration:
hours: 24
- platform: history_stats - platform: history_stats
name: Landscaping Light time name: Landscaping Light time
entity_id: group.landscaping entity_id: group.landscaping
@ -50,6 +59,15 @@ sensor:
duration: duration:
hours: 24 hours: 24
- platform: history_stats
name: Bolt Charging time
entity_id: sensor.carlojuice_charging_status
state: 'charging'
type: time
end: '{{ now() }}'
duration:
days: 7
# - platform: rest # - platform: rest
# name: July 4th Countdown # name: July 4th Countdown
# resource: http://api.wolframalpha.com/v1/result?appid=JIUY8U-4V8KY45VT1&i=How%20many%20days%20until%204th%20July%202018 # resource: http://api.wolframalpha.com/v1/result?appid=JIUY8U-4V8KY45VT1&i=How%20many%20days%20until%204th%20July%202018
@ -64,6 +82,8 @@ group:
- sensor.landscaping_light_time - sensor.landscaping_light_time
- sensor.hvac_time - sensor.hvac_time
- sensor.speech_time - sensor.speech_time
- sensor.tv_time
- sensor.bolt_charging_time
############################################################# #############################################################