[netatmo] Make configuration link clickable in Main UI (#18079)

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

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
pull/18013/merge
jimtng 2025-01-13 06:14:16 +10:00 committed by GitHub
parent 3827872c20
commit 7598cf9bc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -216,7 +216,8 @@ public class ApiBridgeHandler extends BaseBridgeHandler {
servlet.startListening();
grantServlet = Optional.of(servlet);
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
"@text/conf-error-grant-needed [ \"%s\" ]".formatted(servlet.getPath()));
"@text/conf-error-grant-needed [ \"http(s)://<YOUROPENHAB>:<YOURPORT>%s\" ]"
.formatted(servlet.getPath()));
connectApi.dispose();
}

View File

@ -459,7 +459,7 @@ config.refreshInterval.description = The refresh interval to poll Netatmo API (i
conf-error-no-client-id = Cannot connect to Netatmo bridge as no client id is available in the configuration
conf-error-no-client-secret = Cannot connect to Netatmo bridge as no client secret is available in the configuration
conf-error-grant-needed = Complete the configuration by granting the binding to Netatmo Connect: ''{0}''.
conf-error-grant-needed = Complete the configuration by granting the binding to Netatmo Connect: {0}
status-bridge-offline = Bridge is not connected to Netatmo API
device-not-connected = Thing is not reachable
data-over-limit = Data seems quite old