-
-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with new binary sensor for recodings in philips_js integration #104610
Comments
Hey there @elupus, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) philips_js documentation |
Hi, Does it have Android as operating system? Mainly I'm interested into the entry information like shown here from my device:
Alternatively you can get the information directly from your device by opening it's website. |
I think I found the issue, but feel free to share the information anyway to see more information from different systems. The recordings_list is actually not subscribable if the TV is off. I assume this is the case for your setup. I'll work on a fix. I missed this scenario within the tests, so it slipped through... |
Hi, Yes it is an android device and it was on standby. However same error when the device is on. I have two entries for the same device in the diagnostic output.?. Here the relevant HA diagnostic output on "TV-standby" restart:
|
There are two entries for me as well. If I see it right, one is from the HA entity and one from the TV "system" json directly. At least I prevent the NoneType error within a new branch now. A PR will follow if we know more. Your TV has API 6.2 and "jsonfeatures" states it supports "recordings" as well. So API is higher than mine (6.1). Could you share the json for the recording list please? You can get it by visiting in your case: The TV will ask for a basic-auth. |
Thanks for your comments and yes your code change helps... First, I have to restate the scenario: The exception occurs when the network connection to TV is not available on HA startup. Its not a TV standby problem. I pulled your code change and tested it with and without network connection. Looks good. Now no exception is shown on startup. Good to prepare a PR. Thx for your support |
The problem
Running on Dev latest, the philips_js integration shows the following error on startup.
What version of Home Assistant Core has the issue?
System Information
version | core-2023.12.0.dev0 -- | -- installation_type | Home Assistant Core dev | true hassio | false docker | false virtualenv | true python_version | 3.11.4 os_name | Linux os_version | 6.2.0-37-generic arch |
What was the last working version of Home Assistant Core?
core-2023.11.0.dev0
What type of installation are you running?
Home Assistant Core
Integration causing the issue
philips_js
Link to integration documentation on our website
https://www.home-assistant.io/integrations/philips_js/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Pull request that integrated the change
#94691
Adding @Floyer007: Looks like you created this PR
The text was updated successfully, but these errors were encountered: