Created
March 11, 2023 10:29
-
-
Save boozeman/02b119fdaf9849c6eef7ebe4bedbe7b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: ajastintesti | |
description: "" | |
trigger: | |
- platform: device | |
type: turned_on | |
device_id: <deviceid poistettu> | |
entity_id: switch.nedis6_relay1 | |
domain: switch | |
id: relay2 on | |
- platform: event | |
event_type: timer.finished | |
event_data: | |
entity_id: timer.test_timer | |
id: timer finished | |
condition: [] | |
action: | |
- choose: | |
- conditions: | |
- condition: trigger | |
id: relay2 on | |
sequence: | |
- type: turn_on | |
device_id: <deviceid poistettu> | |
entity_id: switch.nedis6_relay1 | |
domain: switch | |
- service: timer.start | |
data: | |
duration: 0 | |
target: | |
entity_id: timer.test_timer | |
- conditions: | |
- condition: trigger | |
id: timer finished | |
sequence: | |
- type: turn_off | |
device_id: <deviceid poistettu> | |
entity_id: switch.nedis6_relay1 | |
domain: switch | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment