Fix documentation YAML example in androidtv_remote (#34228)

This commit is contained in:
dudau16 2024-08-09 18:32:58 +03:00 committed by GitHub
parent 8099b19cf9
commit 24512abade
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -317,8 +317,8 @@ cards:
- type: button - type: button
icon: mdi:arrow-up-bold icon: mdi:arrow-up-bold
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: DPAD_UP command: DPAD_UP
target: target:
@ -334,8 +334,8 @@ cards:
- type: button - type: button
icon: mdi:arrow-left-bold icon: mdi:arrow-left-bold
tap_action: tap_action:
action: call-service action: perform_action
action: remote.send_command perform_action: remote.send_command
data: data:
command: DPAD_LEFT command: DPAD_LEFT
target: target:
@ -345,15 +345,15 @@ cards:
- type: button - type: button
icon: mdi:circle icon: mdi:circle
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: DPAD_CENTER command: DPAD_CENTER
target: target:
entity_id: remote.living_room_tv entity_id: remote.living_room_tv
hold_action: hold_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: DPAD_CENTER command: DPAD_CENTER
hold_secs: 0.5 hold_secs: 0.5
@ -362,8 +362,8 @@ cards:
- type: button - type: button
icon: mdi:arrow-right-bold icon: mdi:arrow-right-bold
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: DPAD_RIGHT command: DPAD_RIGHT
target: target:
@ -373,15 +373,15 @@ cards:
- type: button - type: button
icon: mdi:arrow-left icon: mdi:arrow-left
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: BACK command: BACK
target: target:
entity_id: remote.living_room_tv entity_id: remote.living_room_tv
hold_action: hold_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: BACK command: BACK
hold_secs: 0.5 hold_secs: 0.5
@ -390,8 +390,8 @@ cards:
- type: button - type: button
icon: mdi:arrow-down-bold icon: mdi:arrow-down-bold
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: DPAD_DOWN command: DPAD_DOWN
target: target:
@ -401,15 +401,15 @@ cards:
- type: button - type: button
icon: mdi:home-outline icon: mdi:home-outline
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: HOME command: HOME
target: target:
entity_id: remote.living_room_tv entity_id: remote.living_room_tv
hold_action: hold_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: HOME command: HOME
hold_secs: 0.5 hold_secs: 0.5
@ -422,15 +422,15 @@ cards:
- type: button - type: button
icon: mdi:skip-previous icon: mdi:skip-previous
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: MEDIA_PREVIOUS command: MEDIA_PREVIOUS
target: target:
entity_id: remote.living_room_tv entity_id: remote.living_room_tv
hold_action: hold_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: MEDIA_REWIND command: MEDIA_REWIND
target: target:
@ -438,15 +438,15 @@ cards:
- type: button - type: button
icon: mdi:play-pause icon: mdi:play-pause
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: MEDIA_PLAY_PAUSE command: MEDIA_PLAY_PAUSE
target: target:
entity_id: remote.living_room_tv entity_id: remote.living_room_tv
hold_action: hold_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: MEDIA_STOP command: MEDIA_STOP
target: target:
@ -454,15 +454,15 @@ cards:
- type: button - type: button
icon: mdi:skip-next icon: mdi:skip-next
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: MEDIA_NEXT command: MEDIA_NEXT
target: target:
entity_id: remote.living_room_tv entity_id: remote.living_room_tv
hold_action: hold_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: MEDIA_FAST_FORWARD command: MEDIA_FAST_FORWARD
target: target:
@ -470,8 +470,8 @@ cards:
- type: button - type: button
icon: mdi:volume-off icon: mdi:volume-off
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: MUTE command: MUTE
target: target:
@ -481,8 +481,8 @@ cards:
- type: button - type: button
icon: mdi:volume-medium icon: mdi:volume-medium
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: VOLUME_DOWN command: VOLUME_DOWN
target: target:
@ -492,8 +492,8 @@ cards:
- type: button - type: button
icon: mdi:volume-high icon: mdi:volume-high
tap_action: tap_action:
action: call-service action: perform-action
action: remote.send_command perform_action: remote.send_command
data: data:
command: VOLUME_UP command: VOLUME_UP
target: target:
@ -507,8 +507,8 @@ cards:
- type: button - type: button
icon: mdi:youtube icon: mdi:youtube
tap_action: tap_action:
action: call-service action: perform-action
action: remote.turn_on perform_action: remote.turn_on
data: data:
activity: https://www.youtube.com activity: https://www.youtube.com
target: target:
@ -518,8 +518,8 @@ cards:
- type: button - type: button
icon: mdi:netflix icon: mdi:netflix
tap_action: tap_action:
action: call-service action: perform-action
action: remote.turn_on perform_action: remote.turn_on
data: data:
activity: com.netflix.ninja activity: com.netflix.ninja
target: target:
@ -530,8 +530,8 @@ cards:
image: >- image: >-
https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Amazon_Prime_Video_logo.svg/450px-Amazon_Prime_Video_logo.svg.png https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Amazon_Prime_Video_logo.svg/450px-Amazon_Prime_Video_logo.svg.png
tap_action: tap_action:
action: call-service action: perform-action
action: remote.turn_on perform_action: remote.turn_on
data: data:
activity: com.amazon.amazonvideo.livingroom activity: com.amazon.amazonvideo.livingroom
target: target:
@ -542,8 +542,8 @@ cards:
image: >- image: >-
https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Disney%2B_logo.svg/440px-Disney%2B_logo.svg.png https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Disney%2B_logo.svg/440px-Disney%2B_logo.svg.png
tap_action: tap_action:
action: call-service action: perform-action
action: remote.turn_on perform_action: remote.turn_on
data: data:
activity: com.disney.disneyplus activity: com.disney.disneyplus
target: target: