Created
February 27, 2024 07:36
-
-
Save kai-zer-ru/35da3030d982c2f3e3b2451e3acd3d58 to your computer and use it in GitHub Desktop.
light-bedroom.yaml
This file contains 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: Свет в спальне | |
description: "" | |
trigger: | |
- platform: device | |
domain: mqtt | |
device_id: 72e4b0ab772c8b4b51c7129ddcb5f1aa | |
type: action | |
subtype: single | |
discovery_id: 0x00158d000399300d action_single | |
condition: [] | |
action: | |
- if: | |
- condition: time | |
after: "08:00:00" | |
before: "23:00:00" | |
weekday: | |
- mon | |
- tue | |
- wed | |
- thu | |
- fri | |
- sat | |
- sun | |
then: | |
- type: toggle | |
device_id: d4a6334b8a94705202d2c40aa3f7b9b2 | |
entity_id: switch.vykliuchatel_v_spalne | |
domain: switch | |
else: | |
- type: toggle | |
device_id: b3d5615253538e753ac700f624e3904e | |
entity_id: e1f8cf01f0b730082d0ccb3261363978 | |
domain: light | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment