jaruba / ha-samsungtv-tizen

📺 HomeAssistant - For Samsung TVs 2016+, Includes SmartThings API and Channel List Support
Apache License 2.0
288 stars 65 forks source link

HA 6.6, entity disappeared #153

Open simonep2001 opened 3 years ago

simonep2001 commented 3 years ago

`media_player: platform: samsungtv_tizen name: "Samsung tv" api_key: "API KEY" device_id: "DEVICE ID" host: MY IP mac: "MAC"

app_list:
        '{"Netflix": "11101200001/org.tizen.netflix-app", "Prime Video": "3201512006785/org.tizen.ignition", "Spotify": "3201606009684"}'
source_list:
            '{"TV": "KEY_TV", "HDMI": "KEY_HDMI",}'
channel_list:
             '{"CHANNELNAME":"CHANNELNUMBER","CHANNELNAME":"CHANNELNUMBER"}'
show_channel_number: true`
fusionstream commented 3 years ago

The integration does indeed disappear from the list after upgrading to 2021-6.6. Curiously, I could not restart HA because of this as well.

simonep2001 commented 3 years ago

The integration does indeed disappear from the list after upgrading to 2021-6.6. Curiously, I could not restart HA because of this as well.

I tried another integration and It works perfectly. It Is the same as this but It is configurable with interface. https://github.com/ollo69/ha-samsungtv-smart

ryanturnersmith commented 3 years ago

I have the same problem. When checking the configuration, it just swirls. If active it won't let me restart as I believe it knows it will crash.

I have also tried the other integration above and get "an error occurred" when trying to configure it with my tv.

energywave commented 3 years ago

Maybe that could be related to some configuration or the distribution (OS, Core, supervised...) or something other as I'm using Raspberry Pi4 with Home Assistant OS 64bit, 2021.6.6 but OS ver 6.0 (not updated yet to 6.1) and I'm not having those issues, this integration is working very good (if I exclude state bounces that I have to filter with automation). My yaml definition is as follows:

  - platform: samsungtv_tizen
    host: 192.168.X.X
    mac: AB-CD-EF-01-23-45
    update_custom_ping_url: http://192.168.X.X:9197/dmr
    name: TV Soggiorno
    port: 8002
    api_key: "12345678-90ab-cdef-0123-4567890abcde"
    device_id: "12345678-90ab-cdef-0123-4567890abcde"
    show_channel_number: true

(IP, mac and api key anonymized)