[jellyfin] Make configuration link clickable in Main UI

See https://github.com/openhab/openhab-webui/pull/2996

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
This commit is contained in:
Jimmy Tanagra 2025-01-10 11:00:08 +10:00
parent a1fc3632e6
commit 00ceafb28c

View File

@ -97,7 +97,8 @@ public class JellyfinServerHandler extends BaseBridgeHandler {
jellyApiClient.setBaseUrl(getServerUrl());
if (config.token.isBlank() || config.userId.isBlank()) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_PENDING,
"Navigate to <your local openhab url>/jellyfin/" + this.getThing().getUID().getId() + " to login.");
"Navigate to http(s)://<YOUROPENHAB>:<YOURPORT>/jellyfin/" + this.getThing().getUID().getId()
+ " to login.");
return;
}
jellyApiClient.setAccessToken(config.token);