code: 528 BSH.Common.Error.WriteRequest.NotAvailableByList
The problem
Hi. If I turn the power of my Oven on. Do an integration reload (I did it because somewere I read it detects integration possabilititeit better when the devices are on and i didn't want to reboot HA due running automations). After the reload everything SEEMS fine. But I cannot turn the oven off anymore. I get error in the debug log:
2025-06-15 14:50:48.577 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/google/__init__.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__('pkg_resources').declare_namespace(__name__)
2025-06-15 15:15:15.044 DEBUG (MainThread) [aiohomeconnect] Request: PUT /homeappliances/SIEMENS-HM836GNB6-68A40E31957E/settings/BSH.Common.Setting.PowerState
2025-06-15 15:15:15.286 DEBUG (MainThread) [aiohomeconnect] Response:
{
"error": {
"code": 528,
"description": "HomeAppliance reported an error",
"key": "BSH.Common.Error.WriteRequest.NotAvailableByList"
}
}
What version of Home Assistant Core has the issue?
2025.6.1
What was the last working version of Home Assistant Core?
2025.5.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Home Connect
Link to integration documentation on our website
https://www.home-assistant.io/integrations/home_connect/
Diagnostics information
2025-06-15 14:50:48.577 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/google/__init__.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__('pkg_resources').declare_namespace(__name__)
2025-06-15 15:15:15.044 DEBUG (MainThread) [aiohomeconnect] Request: PUT /homeappliances/SIEMENS-HM836GNB6-68A40E31957E/settings/BSH.Common.Setting.PowerState
2025-06-15 15:15:15.286 DEBUG (MainThread) [aiohomeconnect] Response:
{
"error": {
"code": 528,
"description": "HomeAppliance reported an error",
"key": "BSH.Common.Error.WriteRequest.NotAvailableByList"
}
}
Example YAML snippet
Config flow
Anything in the logs that might be useful for us?
Additional information
Oh it seems that an home assistant reload (not a reboot) doesnt' solve it either. This bug should be easy replicapable.
Hey there @davidmstraub, @diegorro98, @martinhjelmare, mind taking a look at this issue as it has been labeled with an integration (home_connect) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of home_connect can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign home_connectRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
home_connect documentation home_connect source (message by IssueLinks)
Hi! Where you available to turn off your appliance from Home Assistant at 2025.5?
Yes it was still working before. Can't say for 100% sure since i was waiting for this "this entity will be depriciated after version 2025.5" with rebuilding my dashboard, wasn't using it actively. It could be also 2025.4 -ish.
What I do saw today that I have the same issue with my coffee machine. I was able to turn it in but not off anymore.
UPDATE: I just completely removed the integration and re-added the complete thing, still get the error: Error turning off Oven with value "BSH.Common.EnumType.PowerState.Off": HomeAppliance reported an error (BSH.Common.Error.WriteRequest.NotAvailableByList)
Could you try unplugging and plugging back the appliances after some time?
I know that is pretty easy to think that the issue must be at Home Assistant when both appliances have this issue, but we haven't done any changes recently to the power entities, so I'm not sure what could be causing the issue...
I'm not a developer but the cause could also be on Siemens/Bosh's site or the HA it's self.
I already re-added the integration. I also did a complete power black-out of my house to reboot everything like you said. It all went well, but still if I Power on the appliance, then reload the integration and try to continue with my appliance, it get the same error again. It seems i'm not allowed to reload the integration. I need a reboot of HA to get it fixed. I made a more extenisve log for you, hopefully you can see what I mean/or what happends.
Unfortunately, everything seems fine from our side. The only I would like to check is which values are being sent, that's why I'm going to open a PR in the aoihomeconnect repo to include that information on the debug logs so we can check everything and make sure it isn't an issue related with the integration.
Also I have found one case like your from 7 years ago: https://community.home-assistant.io/t/home-connect-alpha-testers-wanted/82603/75, but it was never answered, maybe the problem solved with the time (or after reporting the issue to Home Connect)
So if you reload your integration, this does not occur? Oke, thanks!
Yes, that's it, in my case everything works fine even after reloading the integration
It has been already merged, on next patch (which will be released on Friday) we will get more that about what is sending, just to make sure that everything is correct
2025.6.2 released with those change, please, enable the debug logs and do the same thing so we can check if the values sent are the correct ones.
HomeAssistant 2025.6.3 issue still present. Reloading kills integration.
Issue still not functional after HA reload.
reboot home-assistant_home_connect_2025-06-25T11-05-22.471Z.txt
Chat GPT for fun:
The integration doesn't show a hard crash (e.g. traceback or fatal error), but there is one specific error that looks like the culprit and explains possible instability or why a reload might hang or silently fail: 🧨 Error Detected
{ "error": { "code": 528, "description": "HomeAppliance reported an error", "key": "BSH.Common.Error.WriteRequest.NotAvailableByList" } }
This happens when Home Assistant tries to do this:
PUT /homeappliances/SIEMENS-HM836GNB6-68A40E31957E/settings/BSH.Common.Setting.PowerState Data: {'key': 'BSH.Common.Setting.PowerState', 'value': 'BSH.Common.EnumType.PowerState.Off'}
The device is rejecting the request with:
NotAvailableByList → The requested value is not in the device's allowed list at that moment.
🧠 What This Means
The integration tries to switch the oven to "Off", but your oven doesn’t currently allow that value (Off) via the API. Possibly it only supports Standby, On, and MainsOff in the current state, or has an internal restriction.
This leads to errors in Home Assistant, especially if the entity state and capabilities (like PowerState) get out of sync during reload.
If the integration expects to control all listed states but your oven firmware silently disallows one, the integration logic might trip up.
🔧 Suggestions ✅ 1. Prevent Home Assistant from sending "Off"
NOOOO :)
If possible, manually override or block automations/scripts that try to send "Off" as power state. Use "Standby" instead. 🔁 2. Restart the integration clean
Go to Developer Tools > Services
Call home_connect.reauth if available.
Then remove and re-add the integration from scratch.
ALL READY DID THIS.
🧽 3. Clear stale states
Sometimes Home Assistant caches old state capabilities. Restart Home Assistant after removing the integration before re-adding it to force full re-fetch of supported values.
DONE
🧪 4. Update firmware on the oven
Check in the Home Connect app if a firmware update is available. These kinds of restrictions sometimes change across versions.
ITS UPTODATE.
HomeAssistant 2025.6.3 issue still present.
No changes were made related to this issue, so it is expected to be still present.
Reloading kills integration.
I don't see any exceptions related to the integration dying.
The update was to ensure that the right values were sent (and it seems like). For power switch we only allow two possible states: on and off or standby. If off is present, we use off, then if standby is present, we use standby, otherwise we say that there is no support. https://github.com/home-assistant/core/blob/12812049eaae38ba3e15eb97fc5f060294a42354/homeassistant/components/home_connect/switch.py#L330-L335
You can try to check if with other values does it work with this: https://apiclient.home-connect.com/?url=https%3A//apiclient.home-connect.com/hcsdk-production.yaml&api_key=C755BDEFA96A2AB82AE66922F89B850D586CD979424CC002E365E14D2F912216
First you will need to authorize by clicking on the green authorize button (also inside the dialog). Then go to the set setting endpoint, set the haId to SIEMENS-HM836GNB6-68A40E31957E and the settingkey to BSH.Common.Setting.PowerState and try the following payloads on the body:
{
"data": {
"key": "BSH.Common.Setting.PowerState",
"value": "BSH.Common.EnumType.PowerState.Off"
}
}
{
"data": {
"key": "BSH.Common.Setting.PowerState",
"value": "BSH.Common.EnumType.PowerState.Standby"
}
}
{
"data": {
"key": "BSH.Common.Setting.PowerState",
"value": "BSH.Common.EnumType.PowerState.BSH.Common.EnumType.PowerState.MainsOff"
}
}
(I'm quite certain the last one is an API error, as it's impossible (AFAIK) for an oven to operate with the mains turned off, but just to make sure...)
Please check it and inform about the results
Removed GPT comment.
I'm now testing your request.....
Sorry it's too technical for me. I tried:
API Web Client would like to: Identify your home appliances Monitor your home appliances Control your home appliances Access to your oven
Monitor appliance
Control appliance
Get and modify settings
Forward events
Monitor your oven Control your oven
Then I get: auth errorError: response status is 400, error: invalid_grant, description: invalid authorization_code
I don't have an client_secret:
The developer portal only gives the:
API Web Client Access: Default Client ID bla bla bal But no secret.
Or do I need to use my Home Assistant's application, it has a secret. I don't know if it hurts my current HA autorization.
On the dialog that it opened after clicking on "Authorize" you don't need to do anything but scrolldown to the "Authorize" button, then you log in in the opened page. After login, click close on the dialog and you will be able to use the endpoints. (You can check if everything works by trying to fetch all the appliances)
Ah that make sense. Still got errors and with a littele help from GPT who said I needed to input this instead: { "data": [ { "key": "BSH.Common.Setting.PowerState", "value": "BSH.Common.EnumType.PowerState.Off" } ] }
I got these results for you:
PowerState.On 204 | The request was successful
PowerState.Off Error: response status is 409 { "error": { "code": 528, "description": "HomeAppliance reported an error", "key": "BSH.Common.Error.WriteRequest.NotAvailableByList" } }
PowerState.Standby 204 | The request was successful
PowerState.MainsOff Error: response status is 409 { "error": { "code": 528, "description": "HomeAppliance reported an error", "key": "BSH.Common.Error.WriteRequest.NotAvailableByList" } }
So it seems that the commands PowerState.Off and PowerState.MainsOff don't work. And On and Standby do work.
Removed gpt comments.
Please, don't post Chat GPT comments
Awesome news that you could use standby!
Unfortunately we cannot distinguish between which value will work and which will not. We assume that the values sent are the ones that work and unfortunately your appliance sends too many values.
We could change the priority and it would work for you, but the root of the problem is not solved (which is that there are values sent by the API which shouldn't be sent)
I would recommend reporting this issue to the Home Connect developer program support to ask them to fix it by giving all kind of details: model, brand, serial number (you can get these from the device page at Home Assistant) and finally reference this issue, so that they can get even more information.
Oke I send a message to the developer program. This issue is also without rebooting the integration now. Cannot turn of or on the device anymore with home connect. I seem to be able to use the other functions like choosing programs and stopping.
Just to make sure that it isn't a Home Assistant, please try to use the off value in the page I suggested you before. But it seems like it is a problem with the appliance or with the API
I'm closing this issue as there is no too much we can do by the moment as it is an external issue
@home-assistant close