Hi Guys
Guys can you explain as what I need to do to create a automation where some of my lights will flash for maybe 30 seconds after a certain switch come on.
I struggle with my hearing so seeing a light flashing will advise me that my garage door is still open.
I managed to create automation to announce on google home its open, but want to be able to see the lights flasing. Thanks
post your announcement automation (properly formatted text) and I’m sure someone can help you with the rest.
i created two scenes with the lamps in white color and in red color.
Then i made an automation, which sets one of the scenes, wait 1 second, set second scene, wait 1 second and so on…
This is my code:
alias: Schuur open
description: ''
trigger:
- platform: state
entity_id: remote.sonoff_1000cdcc13
attribute: ts
condition:
- condition: state
entity_id: remote.sonoff_1000cdcc13
state: Deur Schuur
attribute: name
action:
- service: notify.mobile_app_in2013
data:
message: >-
Hallo, iemand heeft zojuist de schuur open gemaakt. Hopelijk is dat een
gewenste actie...
- service: notify.mobile_app_mischa_op6t
data:
message: >-
Hallo, iemand heeft zojuist de schuur open gemaakt. Hopelijk is dat een
gewenste actie...
- service: notify.tablet
data:
message: >-
Hallo, iemand heeft zojuist de schuur open gemaakt. Hopelijk is dat een
gewenste actie...
- scene: scene.alarm_lampen
- delay: '00:00:01'
- scene: scene.lampen_keuken_tafel_normaal
- delay: '00:00:01'
- scene: scene.alarm_lampen
- delay: '00:00:01'
- scene: scene.lamp_keuken_tafel_normaal
mode: single
it also notifies our mobiles and will be spoken out on a wall mounted tablet. No one can miss this…
1 Like