Be consistent with Home Assistant and Hass.io spelling (#30500)
* Be consistent with Home Assistant spelling * Be consistent with Hass.io spelling
This commit is contained in:
1 parent
24b25b8917
commit
5216477353
139 files changed
+189
-189
No files matched your search
@@ -261,7 +261,7 @@ async def setup_test_accessories(hass, accessories):
|
||||
|
||||
|
||||
async def device_config_changed(hass, accessories):
|
||||
"""Discover new devices added to HomeAssistant at runtime."""
|
||||
"""Discover new devices added to Home Assistant at runtime."""
|
||||
# Update the accessories our FakePairing knows about
|
||||
controller = hass.data[CONTROLLER]
|
||||
pairing = controller.pairings["00:00:00:00:00:00"]
|
||||
@@ -307,7 +307,7 @@ async def setup_test_component(hass, services, capitalize=False, suffix=None):
|
||||
domain = HOMEKIT_ACCESSORY_DISPATCH[service_name]
|
||||
break
|
||||
|
||||
assert domain, "Cannot map test homekit services to homeassistant domain"
|
||||
assert domain, "Cannot map test homekit services to Home Assistant domain"
|
||||
|
||||
accessory = Accessory("TestDevice", "example.com", "Test", "0001", "0.1")
|
||||
accessory.services.extend(services)
|
||||
|
||||
Reference in new issue
Block a user