]> git.basschouten.com Git - openhab-addons.git/commit
[mqtt.espmilighthub] use availability topic to set thing status (#13800)
authorCody Cutrer <cody@cutrer.us>
Fri, 24 Mar 2023 23:52:37 +0000 (17:52 -0600)
committerGitHub <noreply@github.com>
Fri, 24 Mar 2023 23:52:37 +0000 (00:52 +0100)
commit2088cf067f4ed497891ff38eecb42a44e7b151d8
treef1f96470e060a9077d08ab944b964b89d48dd7d4
parent3b08217ff7ef54acc4db72f33da2f1d262b4f39d
[mqtt.espmilighthub] use availability topic to set thing status (#13800)

also refactor a bit so that the thing will work even if the bridge
gets added and removed, etc.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/java/org/openhab/binding/mqtt/espmilighthub/internal/EspMilightHubBindingConstants.java
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java