Simplify code, due to better error catching in modbus. (#100483)
This commit is contained in:
parent
30d604c851
commit
48dc81eff0
4 changed files with 2 additions and 15 deletions
|
@ -261,7 +261,7 @@ class ModbusHub:
|
|||
"""Initialize the Modbus hub."""
|
||||
|
||||
if CONF_CLOSE_COMM_ON_ERROR in client_config:
|
||||
async_create_issue( # pragma: no cover
|
||||
async_create_issue(
|
||||
hass,
|
||||
DOMAIN,
|
||||
"deprecated_close_comm_config",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue