"Failed to setupup dukaone device"
Closed this issue · 5 comments
I get this error whenever I start HA.
They seem to work, though, so I'm not sure if it's just a timing thing?
This error originated from a custom integration.
Logger: custom_components.dukaone.sensor
Source: custom_components/dukaone/sensor.py:32
Integration: Duka One (documentation)
First occurred: 14:45:41 (1 occurrences)
Last logged: 14:45:41
Failed to setupup dukaone device
And since I'm at it, I think there's a typo in line 32 of sensor.py
, I think
_LOGGER.error("Failed to setupup dukaone device")
should probably be
_LOGGER.error("Failed to set up dukaone device")
:)
When you get this error the humidity sensor is not setup in HA. It is a timeout if the duka one device has not send any humidity data for 10 sec. The fan may stil work fine in HA.
What model do you have? Maybe there are some without humidity sensor.
The documentation is a bit difficult t assess, page 11 states that an external moisture sensor can be attached, page 16 talks about the built in moisture sensor, and page 22 talks about "either the moisture sensor OR an external digital sensor".
@Aephir I am also considering to buy some Duka One S6 Plus Wifi like you to be put in my basement. Before I proceed with this big investment, may I kindly ask to confirm that they are still working nicely with this HA integration?
I am also planning to buy some radon sensors that can connect to Home assistant (Airthings View Radon) and thus automate the fan speed according to the radon level and/or if people are present in the room/house.
Hi @garret
I have 3 Duka One S6 Plus Wifi and they are all working fine with this integration
The typo has been fixed in 2024.1.0
The timing may also have been fixed - i was not able to reproduce it, but have made a change: the sleep was not awaited
I will close this issue, if you stille have timing problems when starting, create a new issue.,