You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Dishwasher controls, sensors and everything else are unavailable.
When reloading the integration, some data is shown for up to 1min, then everything changes to unavailable.
To Reproduce
Go to Settings -> Devices & Services -> Haier Hon -> Dishwasher device and observe all sensors.
Reload the integration and check logs.
Expected behavior
Sensors should provide the data and should not go to unavailable after 1 min.
Screenshots
Environment (please complete the following information):
Home Assistant Version: 2024.2.5
hOn Integration Version 0.13.0
pyhOn Version 0.13.1
Additional context
My washing machine and tumble dryer work fine!
In the h0n app, the dishwasher also works fine.
Home Assistant Logs
Logger: custom_components.hon.hon
Source: helpers/update_coordinator.py:313
Integration: Haier hOn ([documentation](https://github.com/Andre0512/hon/), [issues](https://github.com/Andre0512/hon/issues))
First occurred: 11:28:35 AM (14 occurrences)
Last logged: 11:44:22 AM
Unexpected error fetching 34-b4-72-9c-64-74 data: 'delayTime'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 313, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hon/hon.py", line 62, in _async_update_data
return await self._device.update()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/appliance.py", line 207, in update
self.sync_params_to_command("settings")
File "/usr/local/lib/python3.12/site-packages/pyhon/appliance.py", line 268, in sync_params_to_command
setting = command.settings[key]
~~~~~~~~~~~~~~~~^^^^^
KeyError: 'delayTime'
Logger: homeassistant.components.select
Source: helpers/entity_platform.py:344
Integration: Select ([documentation](https://www.home-assistant.io/integrations/select), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+select%22))
First occurred: 11:28:35 AM (3 occurrences)
Last logged: 11:39:20 AM
Error while setting up hon platform for select
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 313, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hon/hon.py", line 62, in _async_update_data
return await self._device.update()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/appliance.py", line 207, in update
self.sync_params_to_command("settings")
File "/usr/local/lib/python3.12/site-packages/pyhon/appliance.py", line 268, in sync_params_to_command
setting = command.settings[key]
~~~~~~~~~~~~~~~~^^^^^
KeyError: 'delayTime'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 344, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/hon/select.py", line 207, in async_setup_entry
await entity.coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 285, in async_config_entry_first_refresh
raise ex
homeassistant.exceptions.ConfigEntryNotReady: 'delayTime'
~Same issue has shown up today for my tumble dryer, after updating the integration to the latest version.
Entities detecting tumble dryer status and remote control on/off are working, but every other entity just returns 'unavailable'.
Debug log does have a few entries for HOn, but to be honest I have no ideia if this may be the problem.
One that raised an eyebrow was:
Describe the bug
Dishwasher controls, sensors and everything else are unavailable.
When reloading the integration, some data is shown for up to 1min, then everything changes to unavailable.
To Reproduce
Go to Settings -> Devices & Services -> Haier Hon -> Dishwasher device and observe all sensors.
Reload the integration and check logs.
Expected behavior
Sensors should provide the data and should not go to unavailable after 1 min.
Screenshots
Environment (please complete the following information):
Additional context
Home Assistant Logs
Device Log
DeviceLog.txt
Data Archive
dw_12727.zip
The text was updated successfully, but these errors were encountered: