diff --git a/homeassistant/components/homekit/__init__.py b/homeassistant/components/homekit/__init__.py index e43847da56c..2a0638642ed 100644 --- a/homeassistant/components/homekit/__init__.py +++ b/homeassistant/components/homekit/__init__.py @@ -507,7 +507,7 @@ class HomeKit: # The bridge itself counts as an accessory if len(self.bridge.accessories) + 1 >= MAX_DEVICES: _LOGGER.warning( - "Cannot add %s as this would exceeded the %d device limit. Consider using the filter option", + "Cannot add %s as this would exceed the %d device limit. Consider using the filter option", state.entity_id, MAX_DEVICES, ) diff --git a/tests/components/homekit/test_homekit.py b/tests/components/homekit/test_homekit.py index ccf1749636e..8b79c3f6c58 100644 --- a/tests/components/homekit/test_homekit.py +++ b/tests/components/homekit/test_homekit.py @@ -747,7 +747,7 @@ async def test_homekit_too_many_accessories(hass, hk_driver, caplog): ): await homekit.async_start() await hass.async_block_till_done() - assert "would exceeded" in caplog.text + assert "would exceed" in caplog.text async def test_homekit_finds_linked_batteries(