From 07afad60af6a20e3c95ed1bf73d31119b6c51cdc Mon Sep 17 00:00:00 2001 From: golles Date: Sun, 21 Apr 2024 14:37:26 +0000 Subject: [PATCH] Set play/pause actions --- packages/media_players/lg_c9.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/media_players/lg_c9.yaml b/packages/media_players/lg_c9.yaml index d7f5d5b..b6c74fa 100644 --- a/packages/media_players/lg_c9.yaml +++ b/packages/media_players/lg_c9.yaml @@ -42,6 +42,18 @@ media_player: {{ not state_attr("media_player.lg_c9", "is_volume_muted") }} target: entity_id: media_player.lg_c9 + media_play: + service: media_player.media_play + target: + entity_id: media_player.lg_c9 + media_pause: + service: media_player.media_pause + target: + entity_id: media_player.lg_c9 + media_play_pause: + service: media_player.media_play_pause + target: + entity_id: media_player.lg_c9 attributes: is_volume_muted: media_player.lg_c9|is_volume_muted