upsert / lutron-caseta-pro

Custom Home Assistant Component for Lutron Caseta Smart Bridge PRO / RA2 Select
Apache License 2.0
183 stars 38 forks source link

Lutron action (4) STOP will not work unless #44

Closed bdraco closed 4 years ago

bdraco commented 4 years ago

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

bdraco commented 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

bdraco commented 4 years ago

3b13b8c41839033b16962e1343832ace2fd54171 pushed to set the state as well since the bridge only echos back a SET not a RAISING or LOWERING

upsert commented 4 years ago

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?

bdraco commented 4 years ago

@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.