mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Fix parameter issue in LCN cover close/stop (#42342)
This commit is contained in:
parent
bf4cc364e9
commit
99e2d13668
@ -89,7 +89,7 @@ class LcnOutputsCover(LcnDevice, CoverEntity):
|
||||
self._is_opening = False
|
||||
self._is_closing = True
|
||||
state = pypck.lcn_defs.MotorStateModifier.DOWN
|
||||
self.address_connection.control_motors_outputs(state)
|
||||
self.address_connection.control_motors_outputs(state, self.reverse_time)
|
||||
self.async_write_ha_state()
|
||||
|
||||
async def async_open_cover(self, **kwargs):
|
||||
@ -106,7 +106,7 @@ class LcnOutputsCover(LcnDevice, CoverEntity):
|
||||
self._is_closing = False
|
||||
self._is_opening = False
|
||||
state = pypck.lcn_defs.MotorStateModifier.STOP
|
||||
self.address_connection.control_motors_outputs(state, self.reverse_time)
|
||||
self.address_connection.control_motors_outputs(state)
|
||||
self.async_write_ha_state()
|
||||
|
||||
def input_received(self, input_obj):
|
||||
|
Loading…
x
Reference in New Issue
Block a user