mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Fix typo exceeded, change to exceed, in HomeKit (#42705)
This commit is contained in:
parent
9fc92ab04e
commit
181811b7b8
@ -507,7 +507,7 @@ class HomeKit:
|
|||||||
# The bridge itself counts as an accessory
|
# The bridge itself counts as an accessory
|
||||||
if len(self.bridge.accessories) + 1 >= MAX_DEVICES:
|
if len(self.bridge.accessories) + 1 >= MAX_DEVICES:
|
||||||
_LOGGER.warning(
|
_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,
|
state.entity_id,
|
||||||
MAX_DEVICES,
|
MAX_DEVICES,
|
||||||
)
|
)
|
||||||
|
@ -747,7 +747,7 @@ async def test_homekit_too_many_accessories(hass, hk_driver, caplog):
|
|||||||
):
|
):
|
||||||
await homekit.async_start()
|
await homekit.async_start()
|
||||||
await hass.async_block_till_done()
|
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(
|
async def test_homekit_finds_linked_batteries(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user