Skip to content

Commit

Permalink
Update surepetcare test (home-assistant#56871)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hjelseth Høyer <[email protected]>
  • Loading branch information
Danielhiversen authored Oct 3, 2021
1 parent f8b6fba commit 2fdef0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/components/surepetcare/test_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def test_unlock_failing(hass, surepetcare) -> None:
assert await async_setup_component(hass, DOMAIN, MOCK_CONFIG)
await hass.async_block_till_done()

entity_id = list(EXPECTED_ENTITY_IDS.keys())[0]
entity_id = list(EXPECTED_ENTITY_IDS)[0]

await hass.services.async_call(
"lock", "lock", {"entity_id": entity_id}, blocking=True
Expand Down

0 comments on commit 2fdef0e

Please sign in to comment.