diff --git a/config/.HA_VERSION b/config/.HA_VERSION index 0ca59ccb..9848ab75 100755 --- a/config/.HA_VERSION +++ b/config/.HA_VERSION @@ -1 +1 @@ -0.105.2 \ No newline at end of file +0.105.3 \ No newline at end of file diff --git a/config/automation/Speech/High_Wind_Speed_Check.yaml b/config/automation/Speech/High_Wind_Speed_Check.yaml index e5c18190..b5ae5300 100755 --- a/config/automation/Speech/High_Wind_Speed_Check.yaml +++ b/config/automation/Speech/High_Wind_Speed_Check.yaml @@ -3,7 +3,7 @@ ################################### - alias: 'High Wind Speed Notification' - + trigger: - platform: numeric_state entity_id: sensor.dark_sky_wind_speed @@ -23,7 +23,7 @@ {%- else -%} true {%- endif -%} - + action: - service: script.notify_engine data_template: diff --git a/config/group/locks.yaml b/config/group/locks.yaml new file mode 100755 index 00000000..62ffde1e --- /dev/null +++ b/config/group/locks.yaml @@ -0,0 +1,4 @@ +locks: + name: Locks + entities: + - lock.front_door diff --git a/config/packages/august.yaml b/config/packages/august.yaml new file mode 100755 index 00000000..a0b91c63 --- /dev/null +++ b/config/packages/august.yaml @@ -0,0 +1,48 @@ +#------------------------------------------- +# @CCOSTAN +# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig +# August Smart Lock support for my Front Door - [August Smart Lock](https://amzn.to/2SKGVDk) with Home Assistant. +#------------------------------------------- +###################################################################### +## August Smart Lock - https://amzn.to/2SKGVDk +###################################################################### + +#------------------------------------------- +august: + login_method: email + username: !secret august_username + password: !secret august_password + +# Added to the LOCK group +# Added a check lock routine to the Briefing.yaml - Will check locks whenever there is a speech event. + +automation: + ###################################################################### + ## Door Lock Status Announcements - Only during normal hours. + ###################################################################### + - alias: 'Door Locked Announcement' + trigger: + - platform: state + entity_id: + - lock.front_door + from: 'unlocked' + to: 'locked' + for: '00:00:30' + + action: + - service: script.speech_engine + data_template: + DoorLocked: "The {{ trigger.to_state.name }} is now {{ trigger.to_state.state }}." + + - alias: 'Door UnLocked Announcement' + trigger: + - platform: state + entity_id: + - lock.front_door + to: 'unlocked' + for: '00:10:00' + + action: + - service: script.speech_engine + data_template: + DoorUnLocked: "The {{ trigger.to_state.name }} has been {{ trigger.to_state.state }} for 10 minutes. I will lock it in 10 minutes if it is still unlocked." diff --git a/config/templates/speech/briefing.yaml b/config/templates/speech/briefing.yaml index 68341a94..1f8dc405 100755 --- a/config/templates/speech/briefing.yaml +++ b/config/templates/speech/briefing.yaml @@ -76,6 +76,21 @@ {%- endif -%} {%- endmacro -%} + {%- macro lock_check() -%} + {% if states.group.locks.state !='locked' -%} + The + {%- for state in states.lock -%} + {%- endfor %} + {% for group in states.lock|groupby('state') -%} + {%- for entity in group.list if entity.state == 'unlocked' -%} + {{ ' and' if loop.last and not loop.first }} + {{ entity.attributes.friendly_name }} + {%- endfor -%} + {%- endfor %} + needs to be locked. + {%- endif -%} + {%- endmacro -%} + {%- macro garage_check() -%} {% if states.group.garage_doors.state !='closed' -%} The @@ -230,6 +245,11 @@ {{ DoorOpened }} {{ DoorClosed }} + {{ lock_check() }} + {# These two lock statements are sent directly from automations. #} + {{ DoorLocked }} + {{ DoorUnLocked }} + {% if call_dark_outside == 1 %} {{ dark_outside() }} {% endif %} diff --git a/config/travis_secrets.yaml b/config/travis_secrets.yaml index ae4bf487..d6353a98 100755 --- a/config/travis_secrets.yaml +++ b/config/travis_secrets.yaml @@ -26,6 +26,8 @@ juicenet_access_token: abcdefghijklmnopqrstuvwxyz0123456789 bedroom_restart_on: "/usr/bin/curl -k 'http://192.168.10.127:2323/?cmd=restartApp&password=SecretPassWord'" nest_client_id: secret_nest_client_id nest_client_secret: secretnestclientid +august_username: user@email.com +august_password: P@ssw0rd! neato_username: user@email.com neato_password: password mychevy_email: user@email.com diff --git a/config/www/custom_ui/floorplan/images/branding/att_speedtest.png b/config/www/custom_ui/floorplan/images/branding/att_speedtest.png index 8a1f4525..53e53fb3 100644 Binary files a/config/www/custom_ui/floorplan/images/branding/att_speedtest.png and b/config/www/custom_ui/floorplan/images/branding/att_speedtest.png differ