roberodin/ha-samsungtv-custom

Q70 HDMI inputs do not work

Opened this issue · 0 comments

I am using the component with my 2019 Q70 QLED tv.

For the most part everything works without issue (turning on off the tv, changing the apps, and changing the volume).
However when I go to change to an hdmi input the tv will either not respond or ask me to approve the device again. After approving it again, nothing happens.

Here is my YMAL:
`media_player:

  • platform: samsungtv_custom
    host: 192.168.1.148
    port: 8002
    mac: 24:fc:e5:f1:f6:8a
    sourcelist: '{"PlayStation 3": "KEY_HDMI1", "PlayStation 4": "KEY_HDMI2", "HDMI 3": "KEY_HDMI3", "HDMI 4": "KEY_HDMI4"}'
    applist: "YouTube, Apple TV, Plex, Prime Video, Netflix, Spotify"
    protocol: ctl_qled
    timeout: 25`

This appers in the logs once I select an hdmi
`Logger: homeassistant.util.async_
Source: util/async_.py:120
First occurred: 4:25:48 PM (92 occurrences)
Last logged: 4:25:54 PM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for samsungtv_custom doing I/O at custom_components/samsungtv_custom/samsungctl_qled/upnp.py, line 23: response = requests.post("http://{host}:9197/upnp/control/{protocole}1".format(host=self._host, protocole=protocole), data=body, headers=headers, timeout=0.2)

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for samsungtv_custom doing I/O at custom_components/samsungtv_custom/samsungctl_qled/application.py, line 41: response = requests.get(APP_URL_FORMAT.format(self._ip, APPS[app]), timeout=0.2)
`