diff --git a/kitchen-lovelace.yaml b/kitchen-lovelace.yaml index 75f7146..9a15231 100644 --- a/kitchen-lovelace.yaml +++ b/kitchen-lovelace.yaml @@ -86,6 +86,11 @@ views: template: v3_button entity: media_player.kitchen name: Sonos + hold_action: + action: call-service + service: media_player.media_play_pause + service_data: + entity_id: media_player.kitchen - type: custom:button-card template: v3_button entity: binary_sensor.sonos_is_kitchen_grouped diff --git a/lovelace/hallway_dashboard/at_home_dashboard.yaml b/lovelace/hallway_dashboard/at_home_dashboard.yaml index ee26f31..f8f85cf 100644 --- a/lovelace/hallway_dashboard/at_home_dashboard.yaml +++ b/lovelace/hallway_dashboard/at_home_dashboard.yaml @@ -254,6 +254,11 @@ card: template: v3_xs_button entity: media_player.master_bedroom name: Sonos + hold_action: + action: call-service + service: media_player.media_play_pause + service_data: + entity_id: media_player.kitchen - type: custom:button-card template: v3_xs_button show_state: false diff --git a/lovelace/hallway_dashboard/coming_home_dashboard.yaml b/lovelace/hallway_dashboard/coming_home_dashboard.yaml index fe0dd63..4aec3b6 100644 --- a/lovelace/hallway_dashboard/coming_home_dashboard.yaml +++ b/lovelace/hallway_dashboard/coming_home_dashboard.yaml @@ -251,6 +251,11 @@ card: template: v3_xs_button entity: media_player.master_bedroom name: Sonos + hold_action: + action: call-service + service: media_player.media_play_pause + service_data: + entity_id: media_player.master_bedroom - type: custom:button-card template: v3_xs_button show_state: false diff --git a/lovelace/home_dashboard/bathroom_dashboard.yaml b/lovelace/home_dashboard/bathroom_dashboard.yaml index e054ebb..3ef6af7 100644 --- a/lovelace/home_dashboard/bathroom_dashboard.yaml +++ b/lovelace/home_dashboard/bathroom_dashboard.yaml @@ -46,6 +46,11 @@ template: v3_button entity: media_player.bathroom name: Sonos + hold_action: + action: call-service + service: media_player.media_play_pause + service_data: + entity_id: media_player.bathroom - type: custom:button-card template: v3_button diff --git a/lovelace/home_dashboard/bedroom_dashboard.yaml b/lovelace/home_dashboard/bedroom_dashboard.yaml index 1c4725b..7f67b1c 100644 --- a/lovelace/home_dashboard/bedroom_dashboard.yaml +++ b/lovelace/home_dashboard/bedroom_dashboard.yaml @@ -133,6 +133,11 @@ template: v3_button entity: media_player.master_bedroom name: Sonos + hold_action: + action: call-service + service: media_player.media_play_pause + service_data: + entity_id: media_player.master_bedroom - type: custom:button-card template: v3_button_purifier entity: fan.philips_airpurifier diff --git a/lovelace/home_dashboard/kitchen_dashboard.yaml b/lovelace/home_dashboard/kitchen_dashboard.yaml index a93e977..0051e32 100644 --- a/lovelace/home_dashboard/kitchen_dashboard.yaml +++ b/lovelace/home_dashboard/kitchen_dashboard.yaml @@ -78,6 +78,11 @@ template: v3_button entity: media_player.kitchen name: Sonos + hold_action: + action: call-service + service: media_player.media_play_pause + service_data: + entity_id: media_player.kitchen - type: custom:button-card template: v3_button entity: binary_sensor.sonos_is_kitchen_grouped diff --git a/lovelace/home_dashboard/living_room_dashboard.yaml b/lovelace/home_dashboard/living_room_dashboard.yaml index c7fca74..f463150 100644 --- a/lovelace/home_dashboard/living_room_dashboard.yaml +++ b/lovelace/home_dashboard/living_room_dashboard.yaml @@ -125,6 +125,11 @@ template: v3_button entity: media_player.living_room name: Sonos + hold_action: + action: call-service + service: media_player.media_play_pause + service_data: + entity_id: media_player.living_room - type: custom:button-card template: v3_button_tv entity: media_player.living_room_tv