-
Notifications
You must be signed in to change notification settings - Fork 3
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
Accessing entities within other integrations could be improved #20
Comments
Logger: aiohttp.server Error handling request |
It's trying to get the entity which measures the power of the heat pump. It looks like the domain is 'e35ea7b6bea2b0c6d7ed57830f3effc6' and that doesn't exist. However, 'e35ea7b6bea2b0c6d7ed57830f3effc6' doesn't look like a typical domain name so I think the method by which I get the domain name is flawed. |
I've changed the way domain is fetched and added some more logging. HomeAssistant-OptiSpark/custom_components/optispark/__init__.py Lines 63 to 85 in b3980d3
|
Logs with latest version:
|
I've updated how entities from other integrations are fetched again. 3rd time lucky? It's similar to how HA automation get entities. This has been tested with Daikin's heat pump integration HomeAssistant-OptiSpark/custom_components/optispark/__init__.py Lines 64 to 86 in 9a83f2c
|
2024-01-10 16:11:27.086 ERROR (MainThread) [aiohttp.server] Error handling request |
Checklist
Is your feature request related to a problem? Please describe.
The method by which entities are are accessed and controlled is not officially supported. They may be better alternative methods:
HomeAssistant-OptiSpark/custom_components/optispark/__init__.py
Lines 62 to 75 in 73a252b
Describe the solution you'd like
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: