]> git.basschouten.com Git - openhab-addons.git/commit
[miio] Implement alternative MiIoQuantityTypes (#9203)
authorMarcel <marcel@verpaalen.com>
Fri, 4 Dec 2020 17:37:49 +0000 (09:37 -0800)
committerGitHub <noreply@github.com>
Fri, 4 Dec 2020 17:37:49 +0000 (09:37 -0800)
commit35528eda3b4dcfec382d048e525281f54b1afb5e
treefd9bf5e4b96899fb1652fa3fe73102de439e9e63
parentffe252ccd57693e84420715b8ba96303fb6154cf
[miio] Implement alternative MiIoQuantityTypes (#9203)

* [miio] Implement alternative MiIoQuantityTypes

* Improved way avoiding multiple entries for Unit
* Test cases for the MiIoQuantityTypes class
* Apply suggestions from code review

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/MiIoQuantiyTypes.java
bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/MiIoQuantityTypesTest.java [new file with mode: 0644]