Skip to content

Commit

Permalink
Review comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen committed Apr 10, 2024
1 parent 9be5022 commit d745ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/modbus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
async def async_reset_platform(hass: HomeAssistant, integration_name: str) -> None:
"""Release modbus resources."""
if DOMAIN not in hass.data:
_LOGGER.info("Modbus cannot reload, because it was never loaded")
_LOGGER.error("Modbus cannot reload, because it was never loaded")
return
_LOGGER.info("Modbus reloading")
hubs = hass.data[DOMAIN]
Expand Down

0 comments on commit d745ec5

Please sign in to comment.