Simplify code, due to better error catching in modbus. (#100483)

This commit is contained in:
jan iversen 2023-09-16 13:49:37 +02:00 committed by GitHub
parent 30d604c851
commit 48dc81eff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 15 deletions

View file

@ -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",