Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* largeTextSolution
* Copyright 2020 Smart Things
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
name: "largeTextSolution",
namespace: "nayelyz",
author: "Smart Things",
description: "SmartApp to display large text",
category: "My Apps",
iconUrl: "",
iconX2Url: "",
iconX3Url: "")
preferences {
page(name: "deviceRoutines")
def deviceRoutines() {
dynamicPage(name: "deviceRoutines", title: "Device Routines", install: true, uninstall: true) {
section("Device with the routines") {
input "textdev", "capability.namespace.largetextdisplay", submitOnChange: true
if (textdev) {
section("paragraph") {
paragraph "Routines"
paragraph title: "Routines Config",
required: true,
def getRoutines(){
log.debug "getRoutines"
def currentValue = textdev.currentValue("text")
return currentValue
def installed() {
log.debug "Installed with settings: ${settings}"
def updated() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment