Add browser_mod config for kitchen. Automate based on it

This commit is contained in:
2020-04-24 23:46:13 +03:00
parent 3e8d38bb5f
commit 0d1bd2e2cf
8 changed files with 176 additions and 43 deletions
+27
View File
@@ -1,3 +1,30 @@
automation:
- alias: Lighting · Living room · Turn all lights on on Magic Cube flip 90
trigger:
platform: event
event_type: zha_event
event_data:
device_ieee: !secret magic_cube_ieee
command: flip
args:
flip_degrees: 90
action:
- service: light.turn_on
entity_id: light.living_room_all_lights
- alias: Lighting · Living room · Turn all lights off on Magic Cube flip 180
trigger:
platform: event
event_type: zha_event
event_data:
device_ieee: !secret magic_cube_ieee
command: flip
args:
flip_degrees: 180
action:
- service: light.turn_off
entity_id: light.living_room_all_lights
#
# ─── CUSTOMIZATION ──────────────────────────────────────────────────────────────
#