diff --git a/homeassistant/components/modbus/modbus.py b/homeassistant/components/modbus/modbus.py index d53556b392a..ee5e8306696 100644 --- a/homeassistant/components/modbus/modbus.py +++ b/homeassistant/components/modbus/modbus.py @@ -354,7 +354,7 @@ class ModbusHub: return False else: message = f"modbus {self.name} communication open" - _LOGGER.warning(message) + _LOGGER.info(message) return True def _pymodbus_call( diff --git a/tests/components/modbus/test_init.py b/tests/components/modbus/test_init.py index 08b9540d507..a303e116307 100644 --- a/tests/components/modbus/test_init.py +++ b/tests/components/modbus/test_init.py @@ -770,6 +770,7 @@ async def test_shutdown(hass, caplog, mock_pymodbus, mock_modbus_with_pymodbus): async def test_stop_restart(hass, caplog, mock_modbus): """Run test for service stop.""" + caplog.set_level(logging.INFO) entity_id = f"{SENSOR_DOMAIN}.{TEST_ENTITY_NAME}" assert hass.states.get(entity_id).state == STATE_UNKNOWN hass.states.async_set(entity_id, 17)