From 24512abade023be300376af9bef475091b977e68 Mon Sep 17 00:00:00 2001 From: dudau16 Date: Fri, 9 Aug 2024 18:32:58 +0300 Subject: [PATCH] Fix documentation YAML example in androidtv_remote (#34228) --- .../_integrations/androidtv_remote.markdown | 92 +++++++++---------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/source/_integrations/androidtv_remote.markdown b/source/_integrations/androidtv_remote.markdown index 9f3c54d8aa5..f64b1252cd6 100644 --- a/source/_integrations/androidtv_remote.markdown +++ b/source/_integrations/androidtv_remote.markdown @@ -317,8 +317,8 @@ cards: - type: button icon: mdi:arrow-up-bold tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: DPAD_UP target: @@ -334,8 +334,8 @@ cards: - type: button icon: mdi:arrow-left-bold tap_action: - action: call-service - action: remote.send_command + action: perform_action + perform_action: remote.send_command data: command: DPAD_LEFT target: @@ -345,15 +345,15 @@ cards: - type: button icon: mdi:circle tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: DPAD_CENTER target: entity_id: remote.living_room_tv hold_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: DPAD_CENTER hold_secs: 0.5 @@ -362,8 +362,8 @@ cards: - type: button icon: mdi:arrow-right-bold tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: DPAD_RIGHT target: @@ -373,15 +373,15 @@ cards: - type: button icon: mdi:arrow-left tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: BACK target: entity_id: remote.living_room_tv hold_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: BACK hold_secs: 0.5 @@ -390,8 +390,8 @@ cards: - type: button icon: mdi:arrow-down-bold tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: DPAD_DOWN target: @@ -401,15 +401,15 @@ cards: - type: button icon: mdi:home-outline tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: HOME target: entity_id: remote.living_room_tv hold_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: HOME hold_secs: 0.5 @@ -422,15 +422,15 @@ cards: - type: button icon: mdi:skip-previous tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: MEDIA_PREVIOUS target: entity_id: remote.living_room_tv hold_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: MEDIA_REWIND target: @@ -438,15 +438,15 @@ cards: - type: button icon: mdi:play-pause tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: MEDIA_PLAY_PAUSE target: entity_id: remote.living_room_tv hold_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: MEDIA_STOP target: @@ -454,15 +454,15 @@ cards: - type: button icon: mdi:skip-next tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: MEDIA_NEXT target: entity_id: remote.living_room_tv hold_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: MEDIA_FAST_FORWARD target: @@ -470,8 +470,8 @@ cards: - type: button icon: mdi:volume-off tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: MUTE target: @@ -481,8 +481,8 @@ cards: - type: button icon: mdi:volume-medium tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: VOLUME_DOWN target: @@ -492,8 +492,8 @@ cards: - type: button icon: mdi:volume-high tap_action: - action: call-service - action: remote.send_command + action: perform-action + perform_action: remote.send_command data: command: VOLUME_UP target: @@ -507,8 +507,8 @@ cards: - type: button icon: mdi:youtube tap_action: - action: call-service - action: remote.turn_on + action: perform-action + perform_action: remote.turn_on data: activity: https://www.youtube.com target: @@ -518,8 +518,8 @@ cards: - type: button icon: mdi:netflix tap_action: - action: call-service - action: remote.turn_on + action: perform-action + perform_action: remote.turn_on data: activity: com.netflix.ninja target: @@ -530,8 +530,8 @@ cards: image: >- https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Amazon_Prime_Video_logo.svg/450px-Amazon_Prime_Video_logo.svg.png tap_action: - action: call-service - action: remote.turn_on + action: perform-action + perform_action: remote.turn_on data: activity: com.amazon.amazonvideo.livingroom target: @@ -542,8 +542,8 @@ cards: image: >- https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Disney%2B_logo.svg/440px-Disney%2B_logo.svg.png tap_action: - action: call-service - action: remote.turn_on + action: perform-action + perform_action: remote.turn_on data: activity: com.disney.disneyplus target: