Always send powerview move command in case shade is out of sync (#55308)
This commit is contained in:
parent
5693f9ff9b
commit
efb1fb9978
1 changed files with 0 additions and 2 deletions
|
@ -177,8 +177,6 @@ class PowerViewShade(ShadeEntity, CoverEntity):
|
||||||
"""Move the shade to a position."""
|
"""Move the shade to a position."""
|
||||||
current_hass_position = hd_position_to_hass(self._current_cover_position)
|
current_hass_position = hd_position_to_hass(self._current_cover_position)
|
||||||
steps_to_move = abs(current_hass_position - target_hass_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_schedule_update_for_transition(steps_to_move)
|
||||||
self._async_update_from_command(
|
self._async_update_from_command(
|
||||||
await self._shade.move(
|
await self._shade.move(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue