Closed bdraco closed 4 years ago
I need to adjust this as the bridge echos back the state when you do a set, but not when we do a start
3b13b8c41839033b16962e1343832ace2fd54171 pushed to set the state as well since the bridge only echos back a SET not a RAISING or LOWERING
Does it echo back the state once lowering/raising has finished and it has reached the end?
What about the state after the stop button?
@upsert It does not echo the state when it has finished at the end.
The state is echoed as soon as the stop command is sent.
the system is executing a Start Raising (2) or Start Lowering (3) command. Previously async_open_cover and async_close_cover sent a command to raise to the 100 value or lower to the 0 value. When a (4) STOP command was sent the bridge would respond with ~ERROR,3 because it was not currently executing a Start Raising (2) or Start Lowering (3) command.
This change makes the stop button work as expected in homeassistant and solves issue #43