Apply bond python related feedback from a prior PR (#37821)

This commit is contained in:
Eugene Prystupa authored and GitHub committed 2020-07-13 23:07:35 +02:00
1 parent 4aaf7c5432
commit ed3f25489e
4 files changed
+16 -22

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ async def test_entity_registry(hass: core.HomeAssistant):
await setup_platform(hass, LIGHT_DOMAIN, ceiling_fan("name-1"))
registry: EntityRegistry = await hass.helpers.entity_registry.async_get_registry()
assert [key for key in registry.entities.keys()] == ["light.name_1"]
assert [key for key in registry.entities] == ["light.name_1"]
async def test_turn_on_light(hass: core.HomeAssistant):