diff --git a/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/Clip2ThingHandler.java b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/Clip2ThingHandler.java index 95ecbcd1392..30a49dc3c19 100644 --- a/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/Clip2ThingHandler.java +++ b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/Clip2ThingHandler.java @@ -602,7 +602,7 @@ public class Clip2ThingHandler extends BaseThingHandler { String resourceId = config.resourceId; if (resourceId.isBlank()) { updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, - "@text/offline.api2.conf-error.resource-id-bad"); + "@text/offline.api2.conf-error.resource-id-missing"); return; } thisResource.setId(resourceId); @@ -700,8 +700,8 @@ public class Clip2ThingHandler extends BaseThingHandler { .ifPresentOrElse(r -> onResource(r), () -> { if (resourceType == thisResource.getType()) { logger.debug("{} -> onResourcesList() configuration error: unknown resourceId", resourceId); - updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, - "@text/offline.api2.conf-error.resource-id-bad"); + updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.GONE, + "@text/offline.api2.gone.resource-id-unknown"); } }); } diff --git a/bundles/org.openhab.binding.hue/src/main/resources/OH-INF/i18n/hue.properties b/bundles/org.openhab.binding.hue/src/main/resources/OH-INF/i18n/hue.properties index b6d1dbb4215..48219ed5cca 100644 --- a/bundles/org.openhab.binding.hue/src/main/resources/OH-INF/i18n/hue.properties +++ b/bundles/org.openhab.binding.hue/src/main/resources/OH-INF/i18n/hue.properties @@ -259,8 +259,9 @@ offline.api2.conf-error.assets-not-loaded = Bridge/Thing handler assets not load offline.api2.conf-error.press-pairing-button = Not authenticated. Press pairing button on the Hue Bridge or set a valid application key in configuration. offline.api2.conf-error.read-only = Configuration update failed. Please update the configuration manually. offline.api2.conf-error.clip2-not-supported = The Hue Bridge does not support API v2. -offline.api2.conf-error.resource-id-bad = Configuration resourceId is bad. +offline.api2.conf-error.resource-id-missing = Resource ID is not configured. offline.api2.conf-error.not-authorized = The application key is not authorized. +offline.api2.gone.resource-id-unknown = Resource ID is unknown to the bridge. # scene channel description