Sonos grouping shortcuts

This commit is contained in:
2022-05-28 15:45:26 +03:00
parent 3f3e89b5a9
commit a91f0bef9f
5 changed files with 74 additions and 3 deletions
@@ -46,3 +46,11 @@
template: v3_button
entity: media_player.bathroom
name: Sonos
- type: custom:button-card
template: v3_button
entity: binary_sensor.sonos_is_bathroom_grouped
name: Sonos Grouped
tap_action:
action: call-service
service: "[[[ return entity.state == 'on' ? 'script.sonos_bathroom_unjoin' : 'script.sonos_bathroom_join' ]]]"