miele icon indicating copy to clipboard operation
miele copied to clipboard

Incorrect handling of Timeout error

Open MortenVinding opened this issue 1 month ago • 0 comments

The problem

On trying to make a workaround for problem #593 I tried to buildin a retry in my automation (getting tired of waking up to dirty dishes). But instead of continue after the timeout Home Assistant bails out of the automation.

It seems that the integrations is not handling timeout as expected by Home Assistant according to this: https://github.com/home-assistant/core/issues/115401#issuecomment-2408619871

More specifically: Per the integration developer docs, Integrations should raise HomeAssistantError exceptions for device communication failures on action calls. continue_on_error only catches/ignores HomeAssistantError exceptions; Other exceptions will still cause an Automation/Script to fail/stop

Version of miele integration having the issue?

2025.1.1

Version of Home Assistant Core having the issue?

2025.1.3

Anything in the logs that might be useful for us?


Additional information

Image

MortenVinding avatar Jan 22 '25 09:01 MortenVinding