Home Assistant throws the following error when adding new integration.
Error setting up entry p**********@gmail.com for hon
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 32, in async_setup_entry
await hon.setup()
File "/usr/local/lib/python3.10/site-packages/pyhon/api.py", line 60, in setup
await asyncio.gather(*[
File "/usr/local/lib/python3.10/site-packages/pyhon/device.py", line 116, in load_commands
await self._recover_last_command_states(commands)
File "/usr/local/lib/python3.10/site-packages/pyhon/device.py", line 95, in _recover_last_command_states
for key, data in command.settings.items():
File "/usr/local/lib/python3.10/site-packages/pyhon/commands.py", line 70, in settings
return {s: self._parameters[s] for s in self.setting_keys}
File "/usr/local/lib/python3.10/site-packages/pyhon/commands.py", line 70, in <dictcomp>
return {s: self._parameters[s] for s in self.setting_keys}
KeyError: 'airWashPara3'
The only device I have in my hOn account is a Washer-Dryer combination HWD90xxxxxx. I tried running pyhOn on my PC, but it also throws a bunch of errors after entering username and password.
Home Assistant throws the following error when adding new integration.
```
Error setting up entry p**********@gmail.com for hon
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 32, in async_setup_entry
await hon.setup()
File "/usr/local/lib/python3.10/site-packages/pyhon/api.py", line 60, in setup
await asyncio.gather(*[
File "/usr/local/lib/python3.10/site-packages/pyhon/device.py", line 116, in load_commands
await self._recover_last_command_states(commands)
File "/usr/local/lib/python3.10/site-packages/pyhon/device.py", line 95, in _recover_last_command_states
for key, data in command.settings.items():
File "/usr/local/lib/python3.10/site-packages/pyhon/commands.py", line 70, in settings
return {s: self._parameters[s] for s in self.setting_keys}
File "/usr/local/lib/python3.10/site-packages/pyhon/commands.py", line 70, in <dictcomp>
return {s: self._parameters[s] for s in self.setting_keys}
KeyError: 'airWashPara3'
```
The only device I have in my hOn account is a Washer-Dryer combination HWD90xxxxxx. I tried running pyhOn on my PC, but it also throws a bunch of errors after entering username and password.
Error setting up entry p*****@gmail.com for hon
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 32, in async_setup_entry
await hon.setup()
File "/usr/local/lib/python3.10/site-packages/pyhon/api.py", line 60, in setup
await asyncio.gather(*[
File "/usr/local/lib/python3.10/site-packages/pyhon/device.py", line 117, in load_commands
await self._recover_last_command_states(commands)
File "/usr/local/lib/python3.10/site-packages/pyhon/device.py", line 98, in _recover_last_command_states
data.value = parameters.get(key)
File "/usr/local/lib/python3.10/site-packages/pyhon/parameter.py", line 82, in value
raise ValueError(f"Allowed: min {self._min} max {self._max} step {self._step}")
ValueError: Allowed: min 3 max 12 step 3
Different one this time 😕
````
Error setting up entry p*****@gmail.com for hon
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 32, in async_setup_entry
await hon.setup()
File "/usr/local/lib/python3.10/site-packages/pyhon/api.py", line 60, in setup
await asyncio.gather(*[
File "/usr/local/lib/python3.10/site-packages/pyhon/device.py", line 117, in load_commands
await self._recover_last_command_states(commands)
File "/usr/local/lib/python3.10/site-packages/pyhon/device.py", line 98, in _recover_last_command_states
data.value = parameters.get(key)
File "/usr/local/lib/python3.10/site-packages/pyhon/parameter.py", line 82, in value
raise ValueError(f"Allowed: min {self._min} max {self._max} step {self._step}")
ValueError: Allowed: min 3 max 12 step 3
````
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Home Assistant throws the following error when adding new integration.
The only device I have in my hOn account is a Washer-Dryer combination HWD90xxxxxx. I tried running pyhOn on my PC, but it also throws a bunch of errors after entering username and password.
Hi, please try the newest release, should be fixed there 🙂
Different one this time 😕
Ah shit, I don't expect that this case is possible... I created a new version, hope it works now 🙃