Always send powerview move command in case shade is out of sync (#55308)

This commit is contained in:
J. Nick Koston 2021-08-27 01:49:50 -05:00 committed by GitHub
parent 5693f9ff9b
commit efb1fb9978
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,8 +177,6 @@ class PowerViewShade(ShadeEntity, CoverEntity):
"""Move the shade to a position."""
current_hass_position = hd_position_to_hass(self._current_cover_position)
steps_to_move = abs(current_hass_position - target_hass_position)
if not steps_to_move:
return
self._async_schedule_update_for_transition(steps_to_move)
self._async_update_from_command(
await self._shade.move(