]> git.basschouten.com Git - openhab-addons.git/commit
[openweathermap] Finish clean-up & Fix OneCall Forecast Thing channel creation (...
authorFlorian Hotze <florianh_dev@icloud.com>
Sat, 17 Feb 2024 23:12:21 +0000 (00:12 +0100)
committerGitHub <noreply@github.com>
Sat, 17 Feb 2024 23:12:21 +0000 (00:12 +0100)
commit64801798d835299df7a22c69f818cd669df63035
tree1b3a6af12c7ab31491585c019d5a4c1351898012
parent5c4b8f27698ca5a41a4afc78d843a52a3e65181b
[openweathermap] Finish clean-up & Fix OneCall Forecast Thing channel creation (#16416)

* [openweathermap] Clean-Up config.xml

Remove config description for removed UV Index Thing.

* [openweathermap] Fix OneCall Thing creates to many channels

The default setting is to create 0 minutes, 12 hours and 6 days of forecast channels.
When creating a new OneCall Thing, actually 60 minutes, 24 hours and 8 days of forecast were created due to the thing-types, but those not needed (as determined by the configuration) were not removed.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/handler/OpenWeatherMapOneCallHandler.java
bundles/org.openhab.binding.openweathermap/src/main/resources/OH-INF/config/config.xml