We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a28055 commit fb0abe2Copy full SHA for fb0abe2
tests/test_cover.py
@@ -289,9 +289,9 @@ async def test_cover(
289
)
290
assert entity.state["state"] == CoverState.OPEN
291
292
- # test entity async_update
+ # test entity async_update read of positions from the cluster
293
cluster.PLUGGED_ATTR_READS[WCAttrs.current_position_lift_percentage.name] = 0
294
- cluster.PLUGGED_ATTR_READS[WCAttrs.current_position_tilt_percentage.name] = 0
+ cluster.PLUGGED_ATTR_READS[WCAttrs.current_position_tilt_percentage.name] = 100
295
update_attribute_cache(cluster)
296
await entity.async_update()
297
await zha_gateway.async_block_till_done()
0 commit comments