diff --git a/tests/components/shelly/test_climate.py b/tests/components/shelly/test_climate.py index 241c6a00724..aac14c24288 100644 --- a/tests/components/shelly/test_climate.py +++ b/tests/components/shelly/test_climate.py @@ -492,7 +492,6 @@ async def test_block_set_mode_auth_error( {ATTR_ENTITY_ID: ENTITY_ID, ATTR_HVAC_MODE: HVACMode.HEAT}, blocking=True, ) - await hass.async_block_till_done() assert entry.state is ConfigEntryState.LOADED diff --git a/tests/components/shelly/test_number.py b/tests/components/shelly/test_number.py index 0b9fee9e47f..a5f64409d09 100644 --- a/tests/components/shelly/test_number.py +++ b/tests/components/shelly/test_number.py @@ -227,7 +227,6 @@ async def test_block_set_value_auth_error( {ATTR_ENTITY_ID: "number.test_name_valve_position", ATTR_VALUE: 30}, blocking=True, ) - await hass.async_block_till_done() assert entry.state is ConfigEntryState.LOADED diff --git a/tests/components/shelly/test_sensor.py b/tests/components/shelly/test_sensor.py index ceaa9b66b8d..e7bac38c7fd 100644 --- a/tests/components/shelly/test_sensor.py +++ b/tests/components/shelly/test_sensor.py @@ -618,7 +618,6 @@ async def test_rpc_sleeping_update_entity_service( service_data={ATTR_ENTITY_ID: entity_id}, blocking=True, ) - await hass.async_block_till_done() # Entity should be available after update_entity service call state = hass.states.get(entity_id) @@ -667,7 +666,6 @@ async def test_block_sleeping_update_entity_service( service_data={ATTR_ENTITY_ID: entity_id}, blocking=True, ) - await hass.async_block_till_done() # Entity should be available after update_entity service call state = hass.states.get(entity_id) diff --git a/tests/components/shelly/test_switch.py b/tests/components/shelly/test_switch.py index 3bcb262bee1..212fd4e6bab 100644 --- a/tests/components/shelly/test_switch.py +++ b/tests/components/shelly/test_switch.py @@ -230,7 +230,6 @@ async def test_block_set_state_auth_error( {ATTR_ENTITY_ID: "switch.test_name_channel_1"}, blocking=True, ) - await hass.async_block_till_done() assert entry.state is ConfigEntryState.LOADED @@ -374,7 +373,6 @@ async def test_rpc_auth_error( {ATTR_ENTITY_ID: "switch.test_switch_0"}, blocking=True, ) - await hass.async_block_till_done() assert entry.state is ConfigEntryState.LOADED diff --git a/tests/components/shelly/test_update.py b/tests/components/shelly/test_update.py index 0f26fd14d12..b4ec42762bb 100644 --- a/tests/components/shelly/test_update.py +++ b/tests/components/shelly/test_update.py @@ -207,7 +207,6 @@ async def test_block_update_auth_error( {ATTR_ENTITY_ID: "update.test_name_firmware_update"}, blocking=True, ) - await hass.async_block_till_done() assert entry.state is ConfigEntryState.LOADED @@ -669,7 +668,6 @@ async def test_rpc_update_auth_error( blocking=True, ) - await hass.async_block_till_done() assert entry.state is ConfigEntryState.LOADED flows = hass.config_entries.flow.async_progress()