mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Add basic bedroom switch automations
This commit is contained in:
@@ -32,3 +32,14 @@ automation:
|
||||
action:
|
||||
- service: media_player.media_play_pause
|
||||
entity_id: media_player.living_room
|
||||
|
||||
- alias: Music · Master bedroom · Play pause on switch hold
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: zha_event
|
||||
event_data:
|
||||
device_ieee: !secret master_bedroom_switch_ieee
|
||||
command: hold
|
||||
action:
|
||||
- service: media_player.media_play_pause
|
||||
entity_id: media_player.master_bedroom
|
||||
|
||||
Reference in New Issue
Block a user