Minor Tweeks

This commit is contained in:
Jeffrey Stone 2019-07-12 16:35:36 -04:00
parent 950e8f5822
commit 328ecf126c
6 changed files with 64 additions and 15 deletions

2
.gitignore vendored
View File

@ -31,3 +31,5 @@ secrets.yaml
ip_bans.yaml ip_bans.yaml
._* ._*
google_calendars.yaml google_calendars.yaml
known_devices*
zones.yaml

View File

@ -721,8 +721,8 @@
alias: Kat Pill Reminder alias: Kat Pill Reminder
initial_state: true initial_state: true
trigger: trigger:
- at: 07:35:00 - platform: template
platform: time value_template: "{{ states('sensor.time') == (state_attr('input_datetime.kat_pill_reminder', 'timestamp') | int | timestamp_custom('%H:%M', False)) }}"
condition: condition:
- condition: state - condition: state
entity_id: input_boolean.text_notify_kat entity_id: input_boolean.text_notify_kat
@ -751,4 +751,4 @@
action: action:
- service: script.twitter_new_ha - service: script.twitter_new_ha
- service: input_boolean.turn_off - service: input_boolean.turn_off
entity_id: input_boolean.new_ha_announcement entity_id: input_boolean.new_ha_announcement

View File

@ -343,4 +343,4 @@ voice_reports_off:
- service: input_boolean.turn_off - service: input_boolean.turn_off
entity_id: input_boolean.play_weather_report entity_id: input_boolean.play_weather_report
- service: script.turn_off - service: script.turn_off
entity_id: script.weather_report entity_id: script.weather_report

View File

@ -2,5 +2,12 @@
access_token: !secret github_token access_token: !secret github_token
repositories: repositories:
- path: 'thejeffreystone/home-assistant-configuration' - path: 'thejeffreystone/home-assistant-configuration'
- platform: command_line
command: 'curl https://api.github.com/repos/thejeffreystone/home-assistant-configuration'
name: GitHub Stats
scan_interval: 20000
value_template: '{{ value_json.name }}'
json_attributes:
- open_issues
- stargazers_count

View File

@ -3,12 +3,52 @@
state_topic: "house/washer/status" state_topic: "house/washer/status"
- platform: history_stats - platform: history_stats
name: Speech time name: Speech time
entity_id: media_player.hass_speker entity_id: media_player.hass_speaker
state: 'playing' state: 'playing'
type: time type: time
end: '{{ now() }}' end: '{{ now() }}'
duration: duration:
hours: 24 hours: 24
- platform: history_stats
name: AppleTV time
entity_id: media_player.apple_tv
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: Washer Time
entity_id: sensor.washer_status
state: 'running'
type: time
end: '{{ now() }}'
duration:
hours: 24
- platform: min_max
name: Outside Temp Stats
entity_ids:
- sensor.accurite_back_porch_temperature
- platform: min_max
name: Garage Temp Stats
entity_ids:
- sensor.accurite_garage_temperature
- 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: template - platform: template
sensors: sensors:
sensor_count: sensor_count:
@ -107,4 +147,4 @@
{{loop.length}} {{loop.length}}
{% endif %} {% endif %}
{%- endfor -%} {%- endfor -%}
{%- endfor -%} {%- endfor -%}

View File

@ -1,13 +1,13 @@
- platform: speedtest #- platform: speedtest
scan_interval: # scan_interval:
hours: 6 # hours: 6
monitored_conditions: # monitored_conditions:
- ping # - ping
- download # - download
- upload # - upload
- platform: mqtt - platform: mqtt
name: "network down" name: "network down"
state_topic: "house/speedtest/down" state_topic: "house/speedtest/down"
- platform: mqtt - platform: mqtt
name: "network up" name: "network up"
state_topic: "house/speedtest/up" state_topic: "house/speedtest/up"