Fails to setup new device #31
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Error below:
Device is a Hoover HLE C10DCE-80 Tumble Dryer and I'm using version 0.6.1.
I have the same issue, using a candy ROE H10A2TCE-80
Hi, thanks for reporting. I made the firmware id optional in version
v0.7.0-beta.2
, maybe this solves it already, otherwise we have to test a bit more. Can you try the new beta?No change for me. Same issue. 😔
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/hon/init.py", line 31, in async_setup_entry
hon = await Hon(
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 41, in create
await self.setup()
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 67, in setup
await self._create_appliance(appliance)
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 52, in _create_appliance
await asyncio.gather(
File "/usr/local/lib/python3.10/site-packages/pyhon/appliance.py", line 139, in load_commands
raw = await self._api.load_commands(self)
File "/usr/local/lib/python3.10/site-packages/pyhon/connection/api.py", line 78, in load_commands
"fwVersion": appliance.info["fwVersion"],
KeyError: 'fwVersion'
Okay interesting, can you provide me a log of your appliance data? see Read out device data
I get the same:
Looks to me like you'll also need to make
fwVersion
optional.I am not need my PC at the moment to get the appliance data.
Oh right, this couldn't work 🤦
Okay I made
fwVersion
optional in the latest beta, let's if that's all 🙂OK, so this has now progressed a little further. New traceback below:
New beta 😃
I added a warning log to see the returned attributes and made the
shadow
data optional, I think it couldn't really work without these data, but let's see.So the dict it spits out in the log is below (note that I redacted the Mac address):
The traceback then spits out:
Yea I have the same error:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/hon/init.py", line 31, in async_setup_entry
hon = await Hon(
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 41, in create
await self.setup()
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 67, in setup
await self._create_appliance(appliance)
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 52, in _create_appliance
await asyncio.gather(
File "/usr/local/lib/python3.10/site-packages/pyhon/appliance.py", line 144, in load_commands
self._appliance_model = raw.pop("applianceModel")
KeyError: 'applianceModel'
It would be easiest if one of you could give me your account data (change password before and after, appliances can be turned off) so I can debug this error better. Send me a mail if that's ok with you.
Same issue, have mailed details over to allow debug. nde h10a2tce was working prior.
Thanks @AaronIsFab, that was helpful! I could find the issue, it was the virtual wine cellar...
And I could find some more issues with your hoover appliance. Try the new beta, you can find some more configs now 🙂
Don't forget to change your password 😉
I can confirm that it's now working. Thanks @Andre0512 😊