]> git.basschouten.com Git - openhab-addons.git/commit
[miio] dynamically generate channelTypes (#9158)
authorMarcel <marcel@verpaalen.com>
Fri, 4 Dec 2020 21:01:18 +0000 (13:01 -0800)
committerGitHub <noreply@github.com>
Fri, 4 Dec 2020 21:01:18 +0000 (13:01 -0800)
commit2597ff20d471a974c91eeb06dcfb387165c8f387
treebfa40c8372385525dd1a3d8abe67abdf63271d14
parent97d9bda0a1840c0519d3594716e3cfc3b33c9eca
[miio] dynamically generate channelTypes (#9158)

* [miio] dynamically generate channelTypes

Simplify the json database creation for new models and less chance for
errors
Related to #7276

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoHandlerFactory.java
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/basic/BasicChannelTypeProvider.java [new file with mode: 0644]
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/basic/MiIoBasicChannel.java
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/basic/OptionsValueListDTO.java [new file with mode: 0644]
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/basic/StateDescriptionDTO.java [new file with mode: 0644]
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoBasicHandler.java