From 7cc9903158328c174433d689ea10c375e1fd7204 Mon Sep 17 00:00:00 2001 From: lsiepel Date: Sat, 4 Jan 2025 16:24:23 +0100 Subject: [PATCH] Add Christmas Tree (#17950) Signed-off-by: Leo Siepel --- .../ahawastecollection/internal/CollectionDate.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/CollectionDate.java b/bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/CollectionDate.java index d7e608ced7a..f2d26d5d529 100644 --- a/bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/CollectionDate.java +++ b/bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/CollectionDate.java @@ -45,7 +45,11 @@ final class CollectionDate { /** * Light packaging. */ - LIGHT_PACKAGES; + LIGHT_PACKAGES, + /** + * Christmas Tree. + */ + CHRISTMAS_TREES; /** * Parses the {@link WasteType} from the given Value from the Web-page. @@ -60,6 +64,8 @@ final class CollectionDate { return PAPER; case "Leichtverpackungen": return LIGHT_PACKAGES; + case "Weihnachtsbäume": + return CHRISTMAS_TREES; default: throw new IllegalArgumentException("Unknown waste type: " + value); }