smarthomej / addons

SmartHome/J addons for openHAB
Eclipse Public License 2.0
59 stars 24 forks source link

[viessmann] add command option and state description #403

Closed rogrun closed 1 year ago

rogrun commented 2 years ago

This PR adds automatically generated command options depending on the provided commands from the API

cweitkamp commented 2 years ago

One comment. You do not need both a CommandDescription and a StateDescription provider for the same channel. If you have a channel exposing a state use the later one. It decodes states to commands with the same meaning. If you have a state-less Channel which use the CommandDescriptionProvider.

rogrun commented 2 years ago

Good to know, I will change that and give feedback on it