shenxn / ha-dyson

HomeAssitant custom integration for dyson
MIT License
312 stars 59 forks source link

Integration entities becomes unavailable after restarting HA #162

Open oneseventhree opened 2 years ago

oneseventhree commented 2 years ago

Hi,

My Dyson Pure works great with this integration - Almost to perfection. The problem is when I restart HA it takes 2-24+ hours for the entities to become available. Just before the restart they are working compeletly fine.

Does anyone know how I can fix this?

I ran the debug and nothing shows up so I am not sure whats happening...

jangshik commented 2 years ago

im had a similar problem. refreshing at integration did the job

oneseventhree commented 2 years ago

im had a similar problem. refreshing at integration did the job

as in:

?

Screen Shot 2022-09-03 at 12 59 09 pm

Because if so I did that and still it stays unavailable

MightyMo1704 commented 2 years ago

same issue for me. And dont even have the reload option. It only says. Rename System Options Disable and Delete

MightyMo1704 commented 2 years ago

also i can not delete it anymore. I tried deleting it so i can set it up again. But dyson cloud and dyson local can not be deleted anymore. strange.

MightyMo1704 commented 2 years ago

Error doing job: Task exception was never retrieved 12:18:12 PM – (ERROR) components/discovery/init.py Setup failed for custom integration dyson_cloud: Unable to import component: cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson' (/usr/local/lib/python3.10/site-packages/libdyson/init.py) 12:18:05 PM – (ERROR) setup.py - message first occurred at 12:18:05 PM and shows up 2 times

nipunp8 commented 2 years ago

I was having this issue too. I unplugged the Dyson, restarted HA, as soon as I plugged the Dyson back in, the sensor values populated.

snigehere commented 2 years ago

Make sure that if you are using Dyson cloud that you are not also signed onto the Dyson app. I found issues if I used both. I installed Dyson local and removed Dyson cloud which seemed to remove the restriction.