Skip to content

Commit

Permalink
Readd log entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen committed Sep 9, 2023
1 parent b253bfd commit dbfc7ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/modbus/modbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbfc7ee

Please sign in to comment.