diff --git a/.gitignore b/.gitignore index a946e0ab..6576b848 100755 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,8 @@ OZW_Log.txt home-assistant.log home-assistant_v2.db *.db-journal +*.db-shm +*.db-wal lib deps tts @@ -20,4 +22,3 @@ pyozw.sqlite nest.conf .uuid ipchange.yaml - diff --git a/automation/Speech/home_stats.yaml b/automation/Speech/home_stats.yaml index 81dd3a2b..03b528ce 100755 --- a/automation/Speech/home_stats.yaml +++ b/automation/Speech/home_stats.yaml @@ -19,7 +19,7 @@ action: - service: input_boolean.turn_on entity_id: - - input_boolean.responsibilities + - input_boolean.chore_check - input_boolean.inside_temp - input_boolean.outside_weather - input_boolean.lights_status diff --git a/automation/Speech/responsibilities.yaml b/automation/Speech/responsibilities.yaml index b878cc9e..f99c2bab 100755 --- a/automation/Speech/responsibilities.yaml +++ b/automation/Speech/responsibilities.yaml @@ -11,4 +11,7 @@ from: 'off' action: + - service: input_boolean.turn_on + entity_id: + - input_boolean.chore_check - service: script.Voice_notify diff --git a/automation/color_tornado.yaml b/automation/color_tornado.yaml index fce40166..a3f72967 100755 --- a/automation/color_tornado.yaml +++ b/automation/color_tornado.yaml @@ -15,5 +15,11 @@ data: effect: colorloop + - service: light.turn_on + entity_id: + - light.justin_go + data: + effect: colorloop + - service: input_boolean.turn_off entity_id: input_boolean.color_tornado diff --git a/configuration.yaml b/configuration.yaml index 57bb1be4..3b32106e 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -20,7 +20,8 @@ http: login_attempts_threshold: 3 frontend: - +ios: + group: !include_dir_merge_named group device_tracker: !include_dir_merge_list device_tracker #discovery: diff --git a/group/Deliveries.yaml b/group/Deliveries.yaml deleted file mode 100755 index ab21ef04..00000000 --- a/group/Deliveries.yaml +++ /dev/null @@ -1,8 +0,0 @@ -Deliveries: - name: Deliveries - entities: - - sensor.usps - - sensor.ups - # - sensor.fedex - - sensor.deliveries_today - - sensor.packages_in_transit diff --git a/input_boolean/hidden_booleans.yaml b/input_boolean/hidden_booleans.yaml index efdb27c9..41739ce7 100755 --- a/input_boolean/hidden_booleans.yaml +++ b/input_boolean/hidden_booleans.yaml @@ -6,6 +6,10 @@ responsibilities: name: responsibilities initial: off +chore_check: + name: responsibilities + initial: off + medicine: name: medicine initial: off diff --git a/script/dog_bark.yaml b/script/dog_bark.yaml index 88d05f6d..821f93c6 100755 --- a/script/dog_bark.yaml +++ b/script/dog_bark.yaml @@ -36,7 +36,7 @@ dog_bark: {% if now().strftime("%H")|int < 12 and now().strftime("%H")|int > 6%} 0.45 {% elif now().strftime("%H")|int > 12 and now().strftime("%H")|int < 17%} - 0.9 + 0.7 {% else %} 0.40 {% endif %} diff --git a/script/voice_notify.yaml b/script/voice_notify.yaml index c05b02d8..3147f474 100755 --- a/script/voice_notify.yaml +++ b/script/voice_notify.yaml @@ -155,7 +155,7 @@ voice_notify: {% if is_state('input_boolean.lights_status', 'on') %} {{lights_status()}} {%endif%} - {% if is_state('input_boolean.responsibilities', 'on') %} + {% if is_state('input_boolean.chore_check', 'on') %} {{responsibilities()}} {%endif%} {% if now().strftime("%H")|int > 22 %} @@ -170,6 +170,7 @@ voice_notify: - input_boolean.alert_mode - input_boolean.home_stats - input_boolean.responsibilities + - input_boolean.chore_check - input_boolean.inside_temp - input_boolean.outside_weather - input_boolean.lights_status diff --git a/sensor/hass_stats.yaml b/sensor/hass_stats.yaml index 4c1eb064..2209ffda 100755 --- a/sensor/hass_stats.yaml +++ b/sensor/hass_stats.yaml @@ -5,13 +5,13 @@ - platform: command_line name: HA Installed Version command: >- - cat $HASS_CONFIG/.HA_VERSION + cat /home/hass/.homeassistant/.HA_VERSION scan_interval: 86400 - platform: command_line name: "HA Uptime" command: echo "$(($(date +%s) - $(date -d "$(head -n1 /home/hass/.homeassistant/home-assistant.log | cut -d' ' -f-2)" +%s)))" - scan_interval: 360 + scan_interval: 720 value_template: >- {% set uptime = value | int %} {% set seconds = uptime % 60 %}