Hello,
i’ got an automation which receives an event keypress, fires a scene which starts closing my shutters, then waits 5 sec and then stops the shutters so that they are half closed. (because they don’t support position value).
That works fine so far.
But what i want now is when firing the event keypress from roku again, it should fire another scene which opens the shutters.
can anyone please help me out with that?
Thx, Marco
alias: Kino Rolladenbeschattung
description: cinema
trigger:
- event_data:
key: Home
source_name: Home Assistant ROKU
type: keypress
event_type: roku_command
platform: event
condition: []
action:
- scene: scene.dr7bdcmnkrsnmbj4
- delay: '5'
- scene: scene.lnl5wkxkpazyb9it
mode: single
max: 2