Skip to content

Commit

Permalink
[netatmo] Make configuration link clickable in Main UI (#18079)
Browse files Browse the repository at this point in the history
See openhab/openhab-webui#2996

Signed-off-by: Jimmy Tanagra <[email protected]>
  • Loading branch information
jimtng authored Jan 12, 2025
1 parent 3827872 commit 7598cf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ private void startAuthorizationFlow() {
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();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7598cf9

Please sign in to comment.