abualy / philips-tv-remote-card

philips tv remote card for for home assistant
MIT License
13 stars 1 forks source link

Manual sources don't works. #1

Closed WarC0zes closed 1 year ago

WarC0zes commented 1 year ago

Hi, using the sources manually, it does not work. With the default sources it works, at least netflix. I really appreciate your card and would be nice to fix this problem. I've a Philips 55OLED854.

my source code:

                      sources:
                        - icon: mdi:netflix
                          url: com.netflix.ninja.MainActivity-com.netflix.ninja
                        - icon: phu:prime-video
                          url: >-
                            com.amazon.ignition.IgnitionActivity-com.amazon.amazonvideo.livingroom
                        - icon: mdi:plus-thick
                          url: >-
                            com.canal.ui.tv.TvMainActivity-com.canal.android.canal
                        - icon: phu:disney-plus
                          url: >-
                            com.bamtechmedia.dominguez.main.MainActivity-com.disney.disneyplus
                        - icon: mdi:kodi
                          url: >-
                            net.kodinerds.maven.kodi.Splash-net.kodinerds.maven.kodi
                        - icon: mdi:youtube
                          url: >-
                            com.google.android.apps.youtube.tv.activity.ShellActivity-com.google.android.youtube.tv
WarC0zes commented 1 year ago

I created a folk and modified the urls to work for me.

abualy commented 1 year ago

hello @WarC0zes, thank you for opening an issue on this, so that i understand correctly, you used the https://github.com/abualy/philips-tv-remote-card#source-options part refered in the docs and it did not work for you ? i can test it again and get back to you :)

WarC0zes commented 1 year ago

hello @WarC0zes, thank you for opening an issue on this, so that i understand correctly, you used the https://github.com/abualy/philips-tv-remote-card#source-options part refered in the docs and it did not work for you ? i can test it again and get back to you :)

Hello, yes , this is the source part.

Don't works:

sources:
  - icon: mdi:netflix
    url: com.netflix.ninja.MainActivity-com.netflix.ninja

if i delete the source, the netflix button works by default.

<button class="btn_source ripple" @click=${() => this._select_app("com.netflix.ninja.MainActivity-com.netflix.ninja")}><ha-icon style="heigth: 70%; width: 70%;" icon="mdi:netflix"/></button>
oxigen-dev commented 1 year ago

Hi @abualy ,

First I'd like to say thank you for your work, I really appreciate it.

Could you please reopen this issue and test this functionality again? I can confirm that manually selecting the sources do not work as expected.

Thank you!

abualy commented 1 year ago

@oxigen-dev @WarC0zes should be fixed now! please check on your side

WarC0zes commented 1 year ago

it's work perfectly, great job. Thanks

oxigen-dev commented 1 year ago

Hi @abualy ,

It works 100%, thank you!