openhab-addons/bundles/org.openhab.binding.mqtt.ge.../src
Cody Cutrer 73559be058
[mqtt.homeassistant] Improve Cover support (#15875)
* [mqtt.homeassistant] improve Cover support

 * Add support for covers that report position
 * Handle when command and state values for OPEN/CLOSE/STOP
   differ (as they do by default)
 * Expose the full cover state, since it can have tell you
   if the cover is moving or not
 * Handle covers that have a position only, but not a state

* add constants to clarify up/down values

* Be sure to parse percents from strings in RollshutterValue

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-12-11 19:11:27 +01:00
..
main [mqtt.homeassistant] Improve Cover support (#15875) 2023-12-11 19:11:27 +01:00
test/java/org/openhab/binding/mqtt/generic [mqtt.homeassistant] Improve Cover support (#15875) 2023-12-11 19:11:27 +01:00