Miele@home, miele@mobile component

I get a lot of errors with the official integration and then the data is not updated anymore. The errors look like:

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/miele/coordinator.py", line 70, in callback_update_data
    self.async_set_updated_data(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        MieleCoordinatorData(
        ^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        )
        ^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 515, in async_set_updated_data
    self.async_update_listeners()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 178, in async_update_listeners
    update_callback()
    ~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 559, in _handle_coordinator_update
    self.async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1019, in async_write_ha_state
    self._async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1141, in _async_write_ha_state
    self.__async_calculate_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1081, in __async_calculate_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1025, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/binary_sensor/__init__.py", line 200, in state
    if (is_on := self.is_on) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/miele/binary_sensor.py", line 283, in is_on
    return cast(bool, self.entity_description.value_fn(self.device))
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/miele/binary_sensor.py", line 71, in <lambda>
    value_fn=lambda value: value.state_signal_door,
                           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/pymiele/model.py", line 235, in state_signal_door
    return self.raw_data["state"]["signalDoor"]
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'signalDoor'

Edit: Might there be an issue if a device is offline? I see some more errors all regarding “Waschetrockner” which is currently completely offline (not just powered off, but the wifi module is offline / not connected).

Any update for the 2025.7 release?

Hi,

I have an issue with my dishwasher. I wanted to start it with the miele.set_program command but I always receive an error message:

Die Aktion miele.set_program konnte nicht ausgeführt werden. Service set_program: 400 Bad Request

Does anyboady know why this is not working? I checked it a couple of weeks ago and everything was fine

I am using a miele G7665 Dishwasher

…ok, I saw, that this feature is not supported anymore!

What do you mean by “anymore”? Is it no longer supported by the Miele API or is the functionality not available because of the switch from the HACS to the official integration?

…the switch from HACS

Looks like set_program is coming soon :partying_face:

This got merged last week:

2 Likes

https://docs.powercalc.nl/quick-start/

Maybe PowerCalc will be the right solution?

Seems that it is already in August reléase

I have switched from HACS integración to the oficial one and got everything working already with minor adjustments in device names within automations

1 Like

I’m getting this error in my logs too, even though the integration appears to work fine…

2025-09-14 23:20:03.492 WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting
2025-09-14 23:20:13.582 WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting
2025-09-14 23:20:23.674 WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting
2025-09-14 23:20:33.760 WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting
2025-09-14 23:20:43.854 WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting
2025-09-14 23:20:53.942 WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting
2025-09-14 23:20:54.041 WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting
2025-09-14 23:21:04.126 WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting
2025-09-14 23:21:14.216 WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting

etc.

I could edit the python library to suppress it I suppose, but would be nice to discover what the root cause is.

The Miele cloud services are malfunctioning since more than three days. They have confirmed that there are problems after a major upgrade and that they are working to restore the services.

The errors in the log are varying and are depending on what Miele people are doing at the moment.

The integration is working per se, but there are no real time updates and the sensors are updated every two minutes.

1 Like

I’m migrating across to the newer Integration, but after entering details on Miele’s site I get an “Oops… An Error Occurred” on the Nabu Casa website. Any ideas?

I made it only on PC

Hi There!

Since one month approx my miele integration is giving me some errors in the automation to start the dishwasher.

Here is the trace log for the automation error.

However I see the dishwasher is turning on, but the command fails with this error, so the automation fails

Is there any other having same behaviour?

Thanks

Today I got an error message in Homeassistant regarding expired authentication.

grafik

Clicking on this error message tries to open https://api.mcs3.miele.com/thirdparty/login?response_type=code&client_id=xxxxxxxxxxxxxxxredactedxxxxxxxxxxxxxxxxx&redirect_uri=https://my.home-assistant.io/redirect/oauth&state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbG93X2lkIjoiMDFLQkhQTldXU1Y5TjA2TllSMllaOEVUUVkiLCJyZWRpcmVjdF91cmkiOiJodHRwczovL215LmhvbWUtYXNzaXN0YW50LmlvL3JlZGlyZWN0L29hdXRoIn0.DJPWG8CJEnKTx0M0J9qHouKYzjhE6jS8ifMtPd2hB2Q&vg=sv-SE, but this page doesn’t seem to exist any more (404 Not found).

I tried to get new auth credentials on Get Involved, but I only get back an error 500 after clicking on “Register”.

How can I make the Miele integration work again?

1 Like

Miele’s API service is malfunctioning. Nothing more to do than to wait for them to fix it.

2 Likes

Just came across the same issue. It’s already an open issue on home assistant core on github.
Miele Core Integration setup not working · Issue #157821 · home-assistant/core