mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
play pause sonos
This commit is contained in:
@@ -86,6 +86,11 @@ views:
|
|||||||
template: v3_button
|
template: v3_button
|
||||||
entity: media_player.kitchen
|
entity: media_player.kitchen
|
||||||
name: Sonos
|
name: Sonos
|
||||||
|
hold_action:
|
||||||
|
action: call-service
|
||||||
|
service: media_player.media_play_pause
|
||||||
|
service_data:
|
||||||
|
entity_id: media_player.kitchen
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_button
|
template: v3_button
|
||||||
entity: binary_sensor.sonos_is_kitchen_grouped
|
entity: binary_sensor.sonos_is_kitchen_grouped
|
||||||
|
|||||||
@@ -254,6 +254,11 @@ card:
|
|||||||
template: v3_xs_button
|
template: v3_xs_button
|
||||||
entity: media_player.master_bedroom
|
entity: media_player.master_bedroom
|
||||||
name: Sonos
|
name: Sonos
|
||||||
|
hold_action:
|
||||||
|
action: call-service
|
||||||
|
service: media_player.media_play_pause
|
||||||
|
service_data:
|
||||||
|
entity_id: media_player.kitchen
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_xs_button
|
template: v3_xs_button
|
||||||
show_state: false
|
show_state: false
|
||||||
|
|||||||
@@ -251,6 +251,11 @@ card:
|
|||||||
template: v3_xs_button
|
template: v3_xs_button
|
||||||
entity: media_player.master_bedroom
|
entity: media_player.master_bedroom
|
||||||
name: Sonos
|
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
|
- type: custom:button-card
|
||||||
template: v3_xs_button
|
template: v3_xs_button
|
||||||
show_state: false
|
show_state: false
|
||||||
|
|||||||
@@ -46,6 +46,11 @@
|
|||||||
template: v3_button
|
template: v3_button
|
||||||
entity: media_player.bathroom
|
entity: media_player.bathroom
|
||||||
name: Sonos
|
name: Sonos
|
||||||
|
hold_action:
|
||||||
|
action: call-service
|
||||||
|
service: media_player.media_play_pause
|
||||||
|
service_data:
|
||||||
|
entity_id: media_player.bathroom
|
||||||
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_button
|
template: v3_button
|
||||||
|
|||||||
@@ -133,6 +133,11 @@
|
|||||||
template: v3_button
|
template: v3_button
|
||||||
entity: media_player.master_bedroom
|
entity: media_player.master_bedroom
|
||||||
name: Sonos
|
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
|
- type: custom:button-card
|
||||||
template: v3_button_purifier
|
template: v3_button_purifier
|
||||||
entity: fan.philips_airpurifier
|
entity: fan.philips_airpurifier
|
||||||
|
|||||||
@@ -78,6 +78,11 @@
|
|||||||
template: v3_button
|
template: v3_button
|
||||||
entity: media_player.kitchen
|
entity: media_player.kitchen
|
||||||
name: Sonos
|
name: Sonos
|
||||||
|
hold_action:
|
||||||
|
action: call-service
|
||||||
|
service: media_player.media_play_pause
|
||||||
|
service_data:
|
||||||
|
entity_id: media_player.kitchen
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_button
|
template: v3_button
|
||||||
entity: binary_sensor.sonos_is_kitchen_grouped
|
entity: binary_sensor.sonos_is_kitchen_grouped
|
||||||
|
|||||||
@@ -125,6 +125,11 @@
|
|||||||
template: v3_button
|
template: v3_button
|
||||||
entity: media_player.living_room
|
entity: media_player.living_room
|
||||||
name: Sonos
|
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
|
- type: custom:button-card
|
||||||
template: v3_button_tv
|
template: v3_button_tv
|
||||||
entity: media_player.living_room_tv
|
entity: media_player.living_room_tv
|
||||||
|
|||||||
Reference in New Issue
Block a user