dimagoltsman / generic-remote-control-card

Generic Remote control card for HACS
97 stars 22 forks source link

error : No card type found #41

Open DaddyBear34 opened 1 year ago

DaddyBear34 commented 1 year ago

Hi, sorry to bother, but as newbee (only 2 months into HACS), I've read and read again the readme, the issues (even the closed ones) but I still cannot create your card. Inside a new dashboard, I try to add a card (manual way) whatever I put in the card configuration, got always same msg : No card type found! I've tried to set up resources in the dashboard config resource panel... but nothing works this way either... Can I get some help here? In advance, thanks!

Screenshot (206)

CancunManny commented 1 month ago

Not sure if you figured it out yet or not. I love the card/integration, it was pretty much what I was looking for. That said the instructions are not clear AT ALL!! (at least for newbees like myself)

The instructions make it seem like you have to add the resource code somewhere, but that isn't the case.

What I did to get it working was to add the repository to HACS, then I was able to find "generic remote", I downloaded it. It actually takes longer to download that most other HACS I've downloaded. Once it downloads it says you have to refresh the page for it to work. Once you refresh browser everything seems to look the same.

Then go to the dashboard you want to add the remote card to. Create a new custom card. If you copy the yaml code under the simple remote example and paste it on your new custom card you will see the card pop up with the remote.

Assuming you copy and pasted the code exactly how it was, you will see the remote but it will not work. The top of the code looks like this:


  back:
    call: remote.send_command
    data:
      entity_id: remote.living_room_remote
      command: >-
        b64:JgBgAAABJZEVEBITERMTEhMRExITEhISEjYUNhI3EzYTNhM1ExISNxQQFBETEhE4ExETEhM2EhISNxM2EzYTEhI3EzUUERM2EwAFOgABJ0gSAAwPAAEkSRMADA4AASVJEgANBQAAAAAAAAAA```

For entity id you have to replace remote.living_room_remote with the actual ID of the IR blaster you have configured.  Then for EACH button you have to first learn the code.  Once you have your code you replace what comes after the b64: with your actual code string.

Hope you or someone else finds this info helpful