8000 Button action config example not correct on Android TV Remote integration documentation · Issue #34201 · home-assistant/home-assistant.io · GitHub
[go: up one dir, main page]

Skip to content
Button action config example not correct on Android TV Remote integration documentation #34201
@adorobis

Description

@adorobis

Feedback

The card example provided on Android TV Remote integration documentation is not correct, it now has some duplicate action: keys. Not sure if the frontend is now fully aligned to the rename of "service" into "action", I believe in case of button actions we have a bit of confusion now. I guess too much search&replace has happened here :)
Example of wrong code in the document:

      - type: button
        icon: mdi:arrow-up-bold
        tap_action:
          action: call-service
          action: remote.send_command
          data:
            command: DPAD_UP
          target:
            entity_id: remote.living_room_tv

a correctly working example:

      - type: button
        icon: mdi:arrow-up-bold
        tap_action:
          action: call-service
          service: remote.send_command
          data:
            command: DPAD_UP
          target:
            entity_id: remote.googletv

URL

https://www.home-assistant.io/integrations/androidtv_remote/

Version

2024.8.0

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0