Nerwyn / android-tv-card

A completely customizable universal remote card for Home Assistant. Supports multiple platforms out of the box.
Apache License 2.0
254 stars 13 forks source link

Custom element doesn't exist: universal-remote-card #135

Closed romquenin closed 2 months ago

romquenin commented 2 months ago

Release with the issue: 4.0.3

Last working release (if known): 3.9.4

Browser and Operating System: Chrome and Android's Mobile APP

Description of problem: Custom element doesn't exist: universal-remote-card

Your Full Remote Config

- url: /hacsfiles/android-tv-card/universal-remote-card.min.js
  type: module
      - type: custom:universal-remote-card
        remote_id: remote.android_tv
        media_player_id: media_player.android_tv
        rows:
          - - power
          - - back
            - home
            - tv
          - - volume_down
            - volume_mute
            - volume_up
          - - rewind
            - play_pause
            - fast_forward
        # volume_row: slider
          - - touchpad
          - - keyboard
            - search
          - - netflix
            - primevideo
            - disney
            - youtube
            - plex
        custom_actions:
          - type: button
            # icon: mdi:power-cycle
            tap_action:
              action: perform-action
              perform_action: media_player.play_media
              data:
                media_content_type: app
                media_content_id: com.ottplay.ottplay
              target:
                entity_id: media_player.android_tv

Additional information: Capture d’écran 2024-09-11 160217 Capture d’écran 2024-09-11 161335

Nerwyn commented 2 months ago

If you look at the examples in the README, you'll see that the card type is still custom:android-tv-card to maintain backwards compatibility with older versions.

romquenin commented 2 months ago

Thanks you @Nerwyn i have edited the card type and it's working fine now.