Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Access API key within the Smartthings app #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/Device handlers/tibber-price-device-handler.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,12 @@ metadata {

preferences {
input (
type: "paragraph",
element: "paragraph",
title: "Tibber API key",
description: "You'll find the API key at https://developer.tibber.com/settings/accesstoken"
)
title: "Tibber API key",
description: "Tap to find the API key",
url: "https://developer.tibber.com/settings/accesstoken",
type: "href",
element: "href"
)
input (
name: "tibber_apikey",
type: "password",
Expand Down Expand Up @@ -333,4 +334,4 @@ def formatTimestamp(def timestamp){
if(timestamp < 9)
return "0${timestamp}"
return timestamp
}
}