]> git.basschouten.com Git - openhab-addons.git/commit
[touchwand] - better handle unit update when currStatus key is null (#10520)
authorRoie Geron <roie.geron@gmail.com>
Sat, 17 Apr 2021 13:42:37 +0000 (16:42 +0300)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 13:42:37 +0000 (15:42 +0200)
commit8258d9d7226ab5dc3fe75f284bfb130c07c45310
treed73ebc8ae5d7cc37a1653dbb47c6d84cef16732f
parent265fd30ba157516f4366b2be9cf8b89b6e23f620
[touchwand] - better handle unit update when currStatus key is null (#10520)

* notify listeners on status change using discovery

Signed-off-by: Roie Geron <roie.geron@gmail.com>
* adapt bridge discovery name to new string broadcast

Signed-off-by: Roie Geron <roie.geron@gmail.com>
* check correctly if current status key is not null

Signed-off-by: Roie Geron <roie.geron@gmail.com>
* change log from warn to debug

Signed-off-by: Roie Geron <roie.geron@gmail.com>
* better handle when currStatus is null

also move logs from warn to debug

Signed-off-by: Roie Geron <roie.geron@gmail.com>
* remove nonNullByDefault annotation

as dto can be null

Signed-off-by: Roie Geron <roie.geron@gmail.com>
bundles/org.openhab.binding.touchwand/src/main/java/org/openhab/binding/touchwand/internal/TouchWandDimmerHandler.java
bundles/org.openhab.binding.touchwand/src/main/java/org/openhab/binding/touchwand/internal/TouchWandShutterHandler.java
bundles/org.openhab.binding.touchwand/src/main/java/org/openhab/binding/touchwand/internal/TouchWandSwitchHandler.java
bundles/org.openhab.binding.touchwand/src/main/java/org/openhab/binding/touchwand/internal/TouchWandWallControllerHandler.java
bundles/org.openhab.binding.touchwand/src/main/java/org/openhab/binding/touchwand/internal/discovery/TouchWandControllerDiscoveryService.java
bundles/org.openhab.binding.touchwand/src/main/java/org/openhab/binding/touchwand/internal/discovery/TouchWandUnitDiscoveryService.java
bundles/org.openhab.binding.touchwand/src/main/java/org/openhab/binding/touchwand/internal/dto/TouchWandShutterSwitchUnitData.java
bundles/org.openhab.binding.touchwand/src/main/java/org/openhab/binding/touchwand/internal/dto/TouchWandUnitDataWallController.java
bundles/org.openhab.binding.touchwand/src/main/java/org/openhab/binding/touchwand/internal/dto/TouchWandUnitFromJson.java