diff --git a/intern/docker_homeassistant/tasks/main.yml b/intern/docker_homeassistant/tasks/main.yml index d1a0c24a8cb5af5d7925e9c39dd5171d14200a08..c1f61a9788c803e7691208464d60544e8bb46ccf 100644 --- a/intern/docker_homeassistant/tasks/main.yml +++ b/intern/docker_homeassistant/tasks/main.yml @@ -3,6 +3,7 @@ - include_tasks: ../functions/get_secret.yml with_items: - { path: "{{ basedir }}/warpai_status_update_key", length: -1 } + - { path: "{{ basedir }}/portal_password", length: -1 } - { path: "{{ basedir }}/homeassistant_admin_password", length: 12 } - { path: "{{ basedir }}/influxdb_password", length: 12 } - { path: "{{ basedir }}/influxdb_token", length: 32 } diff --git a/intern/docker_homeassistant/templates/config/configuration.yaml b/intern/docker_homeassistant/templates/config/configuration.yaml index 02fb579172b81bdb749e5e28cce1c853cc64ab91..aa7bf2e15e34502a5c94bf3488d9e600a34eb2c7 100644 --- a/intern/docker_homeassistant/templates/config/configuration.yaml +++ b/intern/docker_homeassistant/templates/config/configuration.yaml @@ -85,6 +85,9 @@ rest_command: set_lounge_matrix_on: url: "http://led-matrix.warpzone.lan/skip" method: GET + open_door: + url: "http://shippo.warpzone.lan:7000/open_door?username=warpzone&password={{ portal_password }}" + method: GET # https://www.home-assistant.io/integrations/telegram/ telegram_bot: