core: Home Connect integration - 2 out of 3 devices not updating at all.
The problem
I had Home Connect integration in use for like 8 days or so, now “it stopped working” 3 days ago, flooding in the Logs something like 429 - Too many requests exceeded 1000 requests per day, waiting for 5353535 seconds or something, which I don’t have anywhere anymore and not getting this error anymore.
Once the 24h time period was over, my integration still didn’t work, so I decided to reinstall it:
- deleted the integration
- removed the settings from
config/configuration.yaml - removed the Home Connect developer application I created
- reloaded the configs and restarted Raspberry Pi, just to be sure
- created a new Home Connect developer application, with new Client ID and Client Secret
- added the secrets in
config/configuration.yaml - reloaded the configs and restarted the Rasp to be sure
- added the Home Connect integration
Now my Home Assistant sees my Dishwasher and all of its entities gets updated, I can control it just the way it used to work before.
But for my Washing Machine and Dryer, the entities are not being updated. Only entity that gets updated every now and then is the Door open/closed, but the power seems to be updated really randomly in HA (I haven’t found when or why they do update, but it’s really seldom) and any other entity never gets updated.
I cannot control these two devices at all. Trying to power them on or off, doesn’t work.
What’s funny is that I can control them in Home Connect mobile application just fine, I can see the statuses perfectly, etc.
I’m also getting bunch of errors, such as:
2020-10-23 22:40:21 WARNING (Thread-11) [homeconnect.sseclient] Exception while reading event:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/homeconnect/sseclient.py", line 81, in __next__
next_chunk = next(self.resp_iterator)
StopIteration
2020-10-23 22:40:21 WARNING (Thread-10) [homeconnect.sseclient] Exception while reading event:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/homeconnect/sseclient.py", line 81, in __next__
next_chunk = next(self.resp_iterator)
StopIteration
2020-10-23 22:40:21 WARNING (Thread-12) [homeconnect.sseclient] Exception while reading event:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/homeconnect/sseclient.py", line 81, in __next__
next_chunk = next(self.resp_iterator)
StopIteration
2020-10-23 22:52:00 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.HomeAppliance.Connection.Initialization.Failed', 'description': 'HomeAppliance is offline'}
2020-10-23 22:52:01 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.HomeAppliance.Connection.Initialization.Failed', 'description': 'HomeAppliance is offline'}
2020-10-23 22:55:49 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn off device: {'key': 'SDK.Error.InvalidSettingValue', 'description': 'Key BSH.Common.Setting.PowerState has unknown enum type or enum member BSH.Common.EnumType.PowerState.Off.'}
2020-10-23 22:55:49 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn off device: {'key': 'SDK.Error.InvalidSettingValue', 'description': 'Key BSH.Common.Setting.PowerState has unknown enum type or enum member BSH.Common.EnumType.PowerState.Off.'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn off device: {'key': 'SDK.Error.InvalidSettingValue', 'description': 'Key BSH.Common.Setting.PowerState has unknown enum type or enum member BSH.Common.EnumType.PowerState.Off.'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.InvalidSettingState', 'description': 'BSH.Common.Setting.PowerState currently not available or writable'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.InvalidSettingState', 'description': 'BSH.Common.Setting.PowerState currently not available or writable'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.InvalidSettingState', 'description': 'BSH.Common.Setting.PowerState currently not available or writable'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.InvalidSettingState', 'description': 'BSH.Common.Setting.PowerState currently not available or writable'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn off device: {'key': 'SDK.Error.InvalidSettingValue', 'description': 'Key BSH.Common.Setting.PowerState has unknown enum type or enum member BSH.Common.EnumType.PowerState.Off.'}
I’m running out of ideas what to do. I think it’s quite “random” that Dishwasher works perfectly, but Washing Machine and Dryer doesn’t work pretty much at all.
Environment
- Home Assistant Core release with the issue: Home Assistant 0.116.4
- Last working Home Assistant Core release (if known): 0.116.3 or 0.116.2 ?
- Operating environment (OS/Container/Supervised/Core): Home Assistant OS
- Integration causing this issue: Home Connect
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/home_connect/
Problem-relevant configuration.yaml
home_connect:
client_id: <client id here>
client_secret: <client secret here>
Traceback/Error logs
2020-10-23 22:40:21 WARNING (Thread-11) [homeconnect.sseclient] Exception while reading event:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/homeconnect/sseclient.py", line 81, in __next__
next_chunk = next(self.resp_iterator)
StopIteration
2020-10-23 22:40:21 WARNING (Thread-10) [homeconnect.sseclient] Exception while reading event:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/homeconnect/sseclient.py", line 81, in __next__
next_chunk = next(self.resp_iterator)
StopIteration
2020-10-23 22:40:21 WARNING (Thread-12) [homeconnect.sseclient] Exception while reading event:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/homeconnect/sseclient.py", line 81, in __next__
next_chunk = next(self.resp_iterator)
StopIteration
2020-10-23 22:52:00 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.HomeAppliance.Connection.Initialization.Failed', 'description': 'HomeAppliance is offline'}
2020-10-23 22:52:01 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.HomeAppliance.Connection.Initialization.Failed', 'description': 'HomeAppliance is offline'}
2020-10-23 22:55:49 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn off device: {'key': 'SDK.Error.InvalidSettingValue', 'description': 'Key BSH.Common.Setting.PowerState has unknown enum type or enum member BSH.Common.EnumType.PowerState.Off.'}
2020-10-23 22:55:49 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn off device: {'key': 'SDK.Error.InvalidSettingValue', 'description': 'Key BSH.Common.Setting.PowerState has unknown enum type or enum member BSH.Common.EnumType.PowerState.Off.'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn off device: {'key': 'SDK.Error.InvalidSettingValue', 'description': 'Key BSH.Common.Setting.PowerState has unknown enum type or enum member BSH.Common.EnumType.PowerState.Off.'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.InvalidSettingState', 'description': 'BSH.Common.Setting.PowerState currently not available or writable'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.InvalidSettingState', 'description': 'BSH.Common.Setting.PowerState currently not available or writable'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.InvalidSettingState', 'description': 'BSH.Common.Setting.PowerState currently not available or writable'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn on device: {'key': 'SDK.Error.InvalidSettingState', 'description': 'BSH.Common.Setting.PowerState currently not available or writable'}
2020-10-23 22:55:50 ERROR (MainThread) [homeassistant.components.home_connect.switch] Error while trying to turn off device: {'key': 'SDK.Error.InvalidSettingValue', 'description': 'Key BSH.Common.Setting.PowerState has unknown enum type or enum member BSH.Common.EnumType.PowerState.Off.'}
Additional information
System Health
| arch | aarch64 |
|---|---|
| chassis | embedded |
| dev | false |
| docker | true |
| docker_version | 19.03.11 |
| hassio | true |
| host_os | HassOS 4.15 |
| installation_type | Home Assistant OS |
| os_name | Linux |
| os_version | 4.19.127-v8 |
| python_version | 3.8.5 |
| supervisor | 249 |
| timezone | Europe/Helsinki |
| version | 0.116.4 |
| virtualenv | false |
Lovelace
| dashboards | 1 |
|---|---|
| mode | storage |
| resources | 0 |
| views | 6 |
As seen in the images below, both devices are powered on, but Home Assistant shows “unavailable”.

About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 45 (2 by maintainers)
I agree, still an issue.
This is still applicable: OS Core 2021.7.4
@teddy-rpi Thank you for the “Home Connect Alt” (https://github.com/ekutner/home-connect-hass). I have installed it (no hacks. no idea why you required any). It is working very good. No issue with any devices (yet). I can now finally turn off my dryer via an automation.
Maybe “Home Connect Alt” should replace this original “buggy” version.
I switched to “Home Connect Alt” which I installed via Hacks. Really happy with it, would recommend it to anyone having problems with the native integration.
I have this problem also; it does not update if I do not reload home assistant or integration. I have the latest version of home assistant docker running. Washer and dryer does not update the state.
I will take a look at this soon, i think it shouldn’t be too difficult to add!
You only need to reload one entity to reload the whole integration. Which one you choose doesn’t matter.
Now HA updates the
Washing machine Program ProgressandWashing machine Remaining Program Time, but all the rest of the sensors are unavailable.