Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,15 @@ metadata {
valueTile("shadeLevel", "device.level", width: 4, height: 1) {
state "level", label: 'Shade is ${currentValue}% up', defaultState: true
}
valueTile("batteryLevel", "device.battery", width: 2, height: 2) {
state "battery", label:'${currentValue}% battery', unit:""
}
controlTile("levelSliderControl", "device.level", "slider", width:2, height: 1, inactiveLabel: false) {
state "level", action:"switch level.setLevel"
}

main "windowShade"
details(["windowShade", "contPause", "shadeLevel", "levelSliderControl", "refresh"])
details(["windowShade", "contPause", "shadeLevel", "levelSliderControl", "refresh","batteryLevel"])
}
}

Expand Down Expand Up @@ -267,4 +270,4 @@ def isIkeaKadrilj() {

def isIkeaFyrtur() {
device.getDataValue("model") == "FYRTUR block-out roller blind"
}
}