CoolKit-Technologies / ha-addon

Apache License 2.0
255 stars 116 forks source link

atribute current_position is not updated when stoping when reaching the maximum #55

Open comprido opened 2 years ago

comprido commented 2 years ago

When I have the cover at around 50%, and I request to completely open them, the attribute current_position is not actualized with 0 (when they reach the maximum), it remains the previous value of 50 (if was previous at 50%)

See below the values of the attributes (note that my covers are physically completely opened, and in the app it also shows open, however in HA, the attribute shows 50)

restored: false supported_features: 15 friendly_name: Living-RoomRollers current_position: 50 state: 'on'

Please note that when we pause the status of the current_position will be correctly updated, this problem only happens when the covers stop by themselves (when they reach the maximum)