Fix typo exceeded, change to exceed, in HomeKit (#42705)
This commit is contained in:
parent
9fc92ab04e
commit
181811b7b8
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
)
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue