8000 Update androidtv_remote.markdown · home-assistant/home-assistant.io@b0ce601 · GitHub
[go: up one dir, main page]

Skip to content

Commit b0ce601

Browse files
authored
Update androidtv_remote.markdown
Changes from 'service' to 'action' created an invalid .yaml in this example.
1 parent 3e55ede commit b0ce601

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

source/_integrations/androidtv_remote.markdown

Lines changed: 46 additions & 46 deletions
6D4E
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ cards:
317317
- type: button
318318
icon: mdi:arrow-up-bold
319319
tap_action:
320-
action: call-service
321-
action: remote.send_command
320+
action: perform-action
321+
perform_action: remote.send_command
322322
data:
323323
command: DPAD_UP
324324
target:
@@ -334,8 +334,8 @@ cards:
334334
- type: button
335335
icon: mdi:arrow-left-bold
336336
tap_action:
337-
action: call-service
338-
action: remote.send_command
337+
action: perform_action
338+
perform_action: remote.send_command
339339
data:
340340
command: DPAD_LEFT
341341
target:
@@ -345,15 +345,15 @@ cards:
345345
- type: button
346346
icon: mdi:circle
347347
tap_action:
348-
action: call-service
349-
action: remote.send_command
348+
action: perform-action
349+
perform_action: remote.send_command
350350
data:
351351
command: DPAD_CENTER
352352
target:
353353
entity_id: remote.living_room_tv
354354
hold_action:
355-
action: call-service
356-
action: remote.send_command
355+
action: perform-action
356+
perform_action: remote.send_command
357357
data:
358358
command: DPAD_CENTER
359359
hold_secs: 0.5
@@ -362,8 +362,8 @@ cards:
362362
- type: button
363363
icon: mdi:arrow-right-bold
364364
tap_action:
365-
action: call-service
366-
action: remote.send_command
365+
action: perform-action
366+
perform_action: remote.send_command
367367
data:
368368
command: DPAD_RIGHT
369369
target:
@@ -373,15 +373,15 @@ cards:
373373
- type: button
374374
icon: mdi:arrow-left
375375
tap_action:
376-
action: call-service
377-
action: remote.send_command
376+
action: perform-action
377+
perform_action: remote.send_command
378378
data:
379379
command: BACK
380380
target:
381381
entity_id: remote.living_room_tv
382382
hold_action:
383-
action: call-service
384-
action: remote.send_command
383+
action: perform-action
384+
perform_action: remote.send_command
385385
data:
386386
command: BACK
387387
hold_secs: 0.5
@@ -390,8 +390,8 @@ cards:
390390
- type: button
391391
icon: mdi:arrow-down-bold
392392
tap_action:
393-
action: call-service
394-
action: remote.send_command
393+
action: perform-action
394+
perform_action: remote.send_command
395395
data:
396396
command: DPAD_DOWN
397397
target:
@@ -401,15 +401,15 @@ cards:
401401
- type: button
402402
icon: mdi:home-outline
403403
tap_action:
404-
action: call-service
405-
action: remote.send_command
404+
action: perform-action
405+
perform_action: remote.send_command
406406
data:
407407
command: HOME
408408
target:
409409
entity_id: remote.living_room_tv
410410
hold_action:
411-
action: call-service
412-
action: remote.send_command
411+
action: perform-action
412+
perform_action: remote.send_command
413413
data:
414414
command: HOME
415415
hold_secs: 0.5
@@ -422,56 +422,56 @@ cards:
422422
- type: button
423423
icon: mdi:skip-previous
424424
tap_action:
425-
action: call-service
426-
action: remote.send_command
425+
action: perform-action
426+
perform_action: remote.send_command
427427
data:
428428
command: MEDIA_PREVIOUS
429429
target:
430430
entity_id: remote.living_room_tv
431431
hold_action:
432-
action: call-service
433-
action: remote.send_command
432+
action: perform-action
433+
perform_action: remote.send_command
434434
data:
435435
command: MEDIA_REWIND
436436
target:
437437
entity_id: remote.living_room_tv
438438
- type: button
439439
icon: mdi:play-pause
440440
tap_action:
441-
action: call-service
442-
action: remote.send_command
441+
action: perform-action
442+
perform_action: remote.send_command
443443
data:
444444
command: MEDIA_PLAY_PAUSE
445445
target:
446446
entity_id: remote.living_room_tv
447447
hold_action:
448-
action: call-service
449-
action: remote.send_command
448+
action: perform-action
449+
perform_action: remote.send_command
450450
data:
451451
command: MEDIA_STOP
452452
target:
453453
entity_id: remote.living_room_tv
454454
- type: button
455455
icon: mdi:skip-next
456456
tap_action:
457-
action: call-service
458-
action: remote.send_command
457+
action: perform-action
458+
perform_action: remote.send_command
459459
data:
460460
command: MEDIA_NEXT
461461
target:
462462
entity_id: remote.living_room_tv
463463
hold_action:
464-
action: call-service
465-
action: remote.send_command
464+
action: perform-action
465+
perform_action: remote.send_command
466466
data:
467467
command: MEDIA_FAST_FORWARD
468468
target:
469469
entity_id: remote.living_room_tv
470470
- type: button
471471
icon: mdi:volume-off
472472
tap_action:
473-
action: call-service
474-
action: remote.send_command
473+
action: perform-action
474+
perform_action: remote.send_command
475475
data:
476476
command: MUTE
477477
target:
@@ -481,8 +481,8 @@ cards:
481481
- type: button
482482
icon: mdi:volume-medium
483483
tap_action:
484-
action: call-service
485-
action: remote.send_command
484+
action: perform-action
485+
perform_action: remote.send_command
486486
data:
487487
command: VOLUME_DOWN
488488
target:
@@ -492,8 +492,8 @@ cards:
492492
- type: button
493493
icon: mdi:volume-high
494494
tap_action:
495-
action: call-service
496-
action: remote.send_command
495+
action: perform-action
496+
perform_action: remote.send_command
497497
data:
498498
command: VOLUME_UP
499499
target:
@@ -507,8 +507,8 @@ cards:
507507
- type: button
508508
icon: mdi:youtube
509509
tap_action:
510-
action: call-service
511-
action: remote.turn_on
510+
action: perform-action
511+
perform_action: remote.turn_on
512512
data:
513513
activity: https://www.youtube.com
514514
target:
@@ -518,8 +518,8 @@ cards:
518518
- type: button
519519
icon: mdi:netflix
520520
tap_action:
521-
action: call-service
522-
action: remote.turn_on
521+
action: perform-action
522+
perform_action: remote.turn_on
523523
data:
524524
activity: com.netflix.ninja
525525
target:
@@ -530,8 +530,8 @@ cards:
530530
image: >-
531531
https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Amazon_Prime_Video_logo.svg/450px-Amazon_Prime_Video_logo.svg.png
532532
tap_action:
533-
action: call-service
534-
action: remote.turn_on
533+
action: perform-action
534+
perform_action: remote.turn_on
535535
data:
536536
activity: com.amazon.amazonvideo.livingroom
537537
target:
@@ -542,8 +542,8 @@ cards:
542542
image: >-
543543
https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Disney%2B_logo.svg/440px-Disney%2B_logo.svg.png
544544
tap_action:
545-
action: call-service
546-
action: remote.turn_on
545+
action: perform-action
546+
perform_action: remote.turn_on
547547
data:
548548
activity: com.disney.disneyplus
549549
target:

0 commit comments

Comments
 (0)
0