We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1056187 commit dfd4286Copy full SHA for dfd4286
homeassistant/components/shelly/coordinator.py
@@ -835,6 +835,15 @@ async def shutdown(self) -> None:
835
except InvalidAuthError:
836
self.config_entry.async_start_reauth(self.hass)
837
return
838
+ except RpcCallError as err:
839
+ # Ignore 404 (No handler for) error
840
+ if err.code != 404:
841
+ LOGGER.debug(
842
+ "Error during shutdown for device %s: %s",
843
+ self.name,
844
+ err.message,
845
+ )
846
+ return
847
except DeviceConnectionError as err:
848
# If the device is restarting or has gone offline before
849
# the ping/pong timeout happens, the shutdown command
0 commit comments