From 5e2b27699e89ccbebaeeaaf7d02c04ca8c13961e Mon Sep 17 00:00:00 2001 From: RogerSelwyn Date: Mon, 29 Sep 2025 15:08:42 +0100 Subject: [PATCH] Handle return result from ebusd being "empty" (#153199) --- homeassistant/components/ebusd/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/ebusd/__init__.py b/homeassistant/components/ebusd/__init__.py index 4cb8d92c3917..5c36c311bffe 100644 --- a/homeassistant/components/ebusd/__init__.py +++ b/homeassistant/components/ebusd/__init__.py @@ -116,7 +116,11 @@ class EbusdData: try: _LOGGER.debug("Opening socket to ebusd %s", name) command_result = ebusdpy.write(self._address, self._circuit, name, value) - if command_result is not None and "done" not in command_result: + if ( + command_result is not None + and "done" not in command_result + and "empty" not in command_result + ): _LOGGER.warning("Write command failed: %s", name) except RuntimeError as err: _LOGGER.error(err)