Mark_B1
(Mark B )
November 1, 2018, 2:50pm
1
Does anyone happen to know where I can find the device handler code for the Simulated Switch? I need to change the labels from On and Off to Open and Closed and can’t seem to find a way to access the default code. Any assistance would be greatly appreciated! Thanks!
eibyer
November 1, 2018, 3:36pm
2
Try this one…
/**
* Copyright 2014 SmartThings
*
* 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:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*
*/
metadata {
// Automatically generated. Make future change here.
definition (name: "Simulated Contact Sensor", namespace: "smartthings/testing", author: "bob") {
capability "Contact Sensor"
capability "Sensor"
capability "Health Check"
This file has been truncated. show original
2 Likes