diff --git a/README.md b/README.md index 14345c15..862d3ba5 100755 --- a/README.md +++ b/README.md @@ -88,10 +88,9 @@ SUNSET: * AutoIt script to control lights via REST and also auto light office when I am working on Laptop. * Configure the Alexa Component. -* Put Dash Buttons out there. +* Put Dash Buttons out there. Bedside dash button for morning, night and bathroom trips. * Put Door Sensor in Mailbox * Add Pi-Hole (Ad blocking) to the network with the Pi Zero. (Add to Home Assistant) -* Bedside dash button for morning, night and bathroom trips. * Create various scenes (early morning, breakfast, work, entertaining, ) * Motion after midnight and the sprinklers go on. * Z-wave outlet for the landscape transformers. (2 of them) to better track sunset/sunrise/home. diff --git a/configuration.yaml b/configuration.yaml index 4eae8c67..f855c7a4 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -79,8 +79,8 @@ mqtt: broker: 127.0.0.1 port: 1883 client_id: home-assistant-1 - username: pi - password: raspberry + username: !secret MQTT_username + password: !secret MQTT_password zwave: usb_path: /dev/ttyACM0 diff --git a/script/flash_notify.yaml b/script/flash_notify.yaml new file mode 100755 index 00000000..7bebe23d --- /dev/null +++ b/script/flash_notify.yaml @@ -0,0 +1,20 @@ +###################################################################################################### +###Script to turn on Front light FULL bright for 15m when motion is detected and then return to the normal colors. +# action: +# - service: script.flash_notify +# +###################################################################################################### + +flash_notify: + sequence: + - service: light.turn_on + entity_id: + - group.outdoor_pool_lights + - light.master_toilet + - light.office_lamp + data: + flash: long + + + + \ No newline at end of file diff --git a/script/skybell_pressed.yaml b/script/skybell_pressed.yaml index e6ab3bea..6035c084 100755 --- a/script/skybell_pressed.yaml +++ b/script/skybell_pressed.yaml @@ -12,13 +12,7 @@ skybell_pressed: name: "SkyBell HD Doorbell:" message: "Someone Pressed the Doorbell." - - service: light.turn_on - entity_id: - - group.outdoor_pool_lights - - light.master_toilet - - light.office_lamp - data: - flash: long + - service: script.flash_notify