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);
.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");
}
});
}
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