Skip to content

Commit

Permalink
refactor: turn off media players
Browse files Browse the repository at this point in the history
  • Loading branch information
bdossantos committed Jan 13, 2024
1 parent 63578c4 commit e172c9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion homeassistant/automation/media_player.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
state: "off"
action:
- service: media_player.turn_off
entity_id: group.all_media_players
entity_id: media_player.tv
- service: media_player.media_stop
entity_id: media_player.living_room
- service: notify.all_smartphones
data:
message: All media players was turned off 🔇
Expand Down

0 comments on commit e172c9d

Please sign in to comment.