Code by Scott שאול בן ישוע
Unverified Commit 46923f10 authored by Stephan Hackett's avatar Stephan Hackett Committed by GitHub
Browse files

Create Boot Me Up Scottie.groovy

parent 796ac57f
/*
* Boot Me Up Manager (Parent)
*
* Author: Stephan Hackett
*
*
*
*/
definition(
name: "Boot Me Up Scottie",
namespace: "stephack",
singleInstance: true,
author: "Stephan Hackett",
description: "Activate WOL Magic Packet - Parent Manager",
category: "My Apps",
iconUrl: "",
iconX2Url: "",
iconX3Url: "",
)
preferences {
page(name: "mainPage")
}
def mainPage() {
return dynamicPage(name: "mainPage", title: "", install: true, uninstall: true) {
if(!state.BmuInstalled) {
section("Hit Done to install Boot Me Up Manager App!") {
}
}
else {
section("Create a new Boot Me Up Instance.") {
app(name: "childApps", appName: "Boot Me Up Child", namespace: "stephack", title: "New Boot Me Up Instance", multiple: true)
}
}
}
}
def installed() {
state.BmuInstalled = true
initialize()
}
def updated() {
unsubscribe()
initialize()
}
def initialize() {
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment