Since 0.81 my HA logbook shows that while my Samsung TV is switched on, it’s state switches between unknown and off every minute swamping the log. I suspect it is related to this change #17357. I can still control the TV through HA, including powering on the TV so I don’t think it is a configuration issue.
I wondered if others are seeing this behaviour and if it is intended or if there is a problem with the recent change?
Also, #17357 sets the state of the TV to “Unknown” when on. Am I alone in thinking that it was better before this change when it would show as “On”?
not exactly the same problem but since I updated to version 0.81.2 or higher the state of my samsung tv changes to unknown instead of on. Last working version: 0.81.1
Thanks for your answer. My samsungtv.py is also in /config/custom_components/media_player/
I got it working although there is still an error in the log (Component not found). I do not understand why because the custom component is woking correctly.
The problem seems to be fixed in 0.83 so the custom component can be removed again.
I don’t see it is fixed in the 83.0.mu Samsung tv is still off all the time. Before the update it was unknown in 82, but 83 latest it is now just off.
I haven’t played around with the custom component, but you say it works on yours without?
With the latest version the component shows on and off properly again with my tv. It seems that the different Samsung models react different to the HA component. In my case it takes 15 minutes before HA sees my tv is off. Before version 0.81 it took only 30 seconds.
Some models use encrypted communication. These don’t react at all on HA. There are different ports in use to communicate with, some models keep sending data for 15 minutes after they have been shut down, some models do not react on a ping.
I think it’s hard to make one general HA-component for Samsung TVs. Maybe more variables should be introduced to configure the component.
Sorry, but the issue is still there.
Samsung Q90 85 on HASSIO 6.1 core 2021.7.2
I want to control the lights when I turn the TV on, so that really messes up the automation.
Samsung Q90 85 Living room turned on
7:52:59 PM - 35 minutes ago
Samsung Q90 85 Living room turned off by Alan Guggenheim
7:52:38 PM - 35 minutes ago
Samsung Q90 85 Living room turned on
7:52:10 PM - 35 minutes ago
Samsung Q90 85 Living room turned off by Alan Guggenheim
7:51:25 PM - 36 minutes ago
Samsung Q90 85 Living room turned on
6:25:24 PM - 2 hours ago
Samsung Q90 85 Living room turned off
6:22:20 PM - 2 hours ago
Samsung Q90 85 Living room turned on
6:22:03 PM - 2 hours ago
Samsung Q90 85 Living room turned off
6:17:20 PM - 2 hours ago
Samsung Q90 85 Living room turned on
6:17:03 PM - 2 hours ago
Samsung Q90 85 Living room turned off
6:12:20 PM - 2 hours ago
Samsung Q90 85 Living room turned on
6:12:03 PM - 2 hours ago
Samsung Q90 85 Living room turned off
6:07:18 PM - 2 hours ago
Samsung Q90 85 Living room turned on
6:07:01 PM - 2 hours ago