diff --git a/tests/components/command_line/test_binary_sensor.py b/tests/components/command_line/test_binary_sensor.py index 7d5db4603fe..9787728965e 100644 --- a/tests/components/command_line/test_binary_sensor.py +++ b/tests/components/command_line/test_binary_sensor.py @@ -304,7 +304,7 @@ async def test_updating_manually( await hass.async_block_till_done() assert called - called.clear + called.clear() await hass.services.async_call( HA_DOMAIN,