diff --git a/homeassistant/components/modbus/modbus.py b/homeassistant/components/modbus/modbus.py index be70021333b1ca..97e09e3aa017cb 100644 --- a/homeassistant/components/modbus/modbus.py +++ b/homeassistant/components/modbus/modbus.py @@ -266,6 +266,9 @@ def __init__(self, hass: HomeAssistant, client_config: dict[str, Any]) -> None: severity=IssueSeverity.WARNING, translation_key="deprecated_close_comm_config", ) + _LOGGER.warning( + "`close_comm_on_error`: is deprecated and will be remove in version 2024.4" + ) # generic configuration self._client: ModbusBaseClient | None = None self._async_cancel_listener: Callable[[], None] | None = None