From 528f2a27ccad2deae64e308e5f1dc9f5e286620e Mon Sep 17 00:00:00 2001 From: ccostan Date: Sun, 13 May 2018 19:26:00 -0400 Subject: [PATCH] Add a section for just blinking SOME lights for a visual Cue. #356 --- config/automation/flash_all.yaml | 29 ++++++++++++++++++ config/packages/twitter.yaml | 3 +- .../branding/{Throwback.png => throwback.png} | Bin 3 files changed, 30 insertions(+), 2 deletions(-) rename config/www/custom_ui/floorplan/images/branding/{Throwback.png => throwback.png} (100%) diff --git a/config/automation/flash_all.yaml b/config/automation/flash_all.yaml index a32a206c..b381ef6d 100755 --- a/config/automation/flash_all.yaml +++ b/config/automation/flash_all.yaml @@ -19,3 +19,32 @@ - service: input_boolean.turn_off entity_id: input_boolean.flash + +- alias: 'Flash Timer Lights' + trigger: + - platform: state + entity_id: input_boolean.flash + to: 'on' + from: 'off' + - platform: event + event_type: flash_timer + + action: + - service: light.turn_on + entity_id: + - light.bedroom + - light.justin_go + - light.paige_go + - light.sink + - light.tv_light + - light.couch_1 + - light.upstairs_lamp + - light.office_lamp + - light.m1_slider + - light.garage_attic + - light.den_lamp + data: + flash: long + + - service: input_boolean.turn_off + entity_id: input_boolean.flash diff --git a/config/packages/twitter.yaml b/config/packages/twitter.yaml index 8fe7b91c..0a15a6b3 100755 --- a/config/packages/twitter.yaml +++ b/config/packages/twitter.yaml @@ -272,10 +272,9 @@ automation: "Build your own Home Alarm System - (https://www.vcloudinfo.com/2017/06/building-my-home-alarm-system-hardware.html)" ] %} {% set hashtags = [ - "#IOT #SmartHome", "#Throwback" ] %} - {{ phrases|random ~ " " ~ hashtags|random }} + {{ phrases|random ~ " " ~ hashtags|random ~ " #IOT #SmartHome" }} data: media: >- {% set pictures = [ diff --git a/config/www/custom_ui/floorplan/images/branding/Throwback.png b/config/www/custom_ui/floorplan/images/branding/throwback.png similarity index 100% rename from config/www/custom_ui/floorplan/images/branding/Throwback.png rename to config/www/custom_ui/floorplan/images/branding/throwback.png