mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Upgrade black to 20.8b1 (#39287)
This commit is contained in:
@@ -541,7 +541,11 @@ async def test_off_action_optimistic(hass, calls):
|
||||
async def test_restore_state(hass):
|
||||
"""Test state restoration."""
|
||||
mock_restore_cache(
|
||||
hass, (State("switch.s1", STATE_ON), State("switch.s2", STATE_OFF),),
|
||||
hass,
|
||||
(
|
||||
State("switch.s1", STATE_ON),
|
||||
State("switch.s2", STATE_OFF),
|
||||
),
|
||||
)
|
||||
|
||||
hass.state = CoreState.starting
|
||||
|
||||
Reference in New Issue
Block a user