Skip to content

Commit fb0abe2

Browse files
committed
Update test_cover.py
1 parent 1a28055 commit fb0abe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_cover.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ async def test_cover(
289289
)
290290
assert entity.state["state"] == CoverState.OPEN
291291

292-
# test entity async_update
292+
# test entity async_update read of positions from the cluster
293293
cluster.PLUGGED_ATTR_READS[WCAttrs.current_position_lift_percentage.name] = 0
294-
cluster.PLUGGED_ATTR_READS[WCAttrs.current_position_tilt_percentage.name] = 0
294+
cluster.PLUGGED_ATTR_READS[WCAttrs.current_position_tilt_percentage.name] = 100
295295
update_attribute_cache(cluster)
296296
await entity.async_update()
297297
await zha_gateway.async_block_till_done()

0 commit comments

Comments
 (0)