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
Dyson component cannot initialize device (US based Dyson Cool Link) #8097
Comments
I can confirm the error. And for the language code, I haven't yet a full list of working code but it's good to know that you have to use 'GB' for an US device. Thanks. |
If you look at the log closely I think you can see the exception is popping for both the fan and sensor components. ... I don't know if this is relevant, but from the UI in Developer Tools -> States, in the group.all_fans entity there is an attribute fan.purifier_cool_tower. However, I don't actually see a fan.purifier_cool_tower entity in the list. There are no other instances of the string 'purifier_cool_tower' in the entity listing. |
You are right. While I was testing, I had only the error for the sensor, not the fan. And the fan component was working fine (but maybe something in cache too). If you want to manually fix (and tests are welcome):
self._device.add_message_listener, self.on_message)
self._device.add_message_listener, self.on_message) |
Thanks for the solution/workaround! I patched my codebase and I don't get the exceptions anymore. However, I only get the following entities: sensor.purifier_cool_tower_filter_life unknown unit_of_measurement: hours fan.purifier_cool_tower off speed_list: AUTO,1,2,3,4,5,6,7,8,9,10 Aside from not having the correct filter life, the device is currently in 'Auto' mode, and it has set itself to fan level 4, so the HASS data doesn't look right. |
It seems you have another issue. logger:
default: warn
logs:
homeassistant.components.sensor.dyson: debug
homeassistant.components.fan.dyson: debug
homeassistant.components.dyson: debug You can of course anonymize sensitive data (device ID, IP address, etc ...) Are you able to see the web component ? Something like that: And I think you should open another issue because the problem seems to be different. We can continue the troubleshooting on this post https://community.home-assistant.io/t/dyson-link-action-and-sensor/10145/ if you want. |
Home Assistant release (
hass --version
):root@homeassistant:/usr/src/app# hass --version
0.47.0
Python release (
python3 --version
):root@homeassistant:/usr/src/app# python3 --version
Python 3.6.1
Component/platform:
Dyson
Description of problem:
Dyson Cool Link Air Purifier isn't initialized.
Expected:
Dyson to be initialized correctly.
Problem-relevant
configuration.yaml
entries and steps to reproduce:(relevent portion of configuration.yaml)
Traceback (if applicable):
Additional info:
Language is set to 'GB' even though I'm in the US. I tried 'UK' but the logs indicated that I couldn't connect to my account. With 'GB' it seems as though it connects to my account, but then HASS cannot initialize my device.
The text was updated successfully, but these errors were encountered: