jk12
(john)
August 29, 2015, 5:52pm
1
I haven’t found any app that can turn off swtiches when another switch turns on. The big switch is the closest, but it seems to only sync them—turns on, others turn ON too. Any suggestions?
jk12
(john)
August 29, 2015, 6:50pm
2
Nevermind…wrote my first app!
1 Like
I see you solved it yourself. Here is my solution.
/**
* One At A Time Please
*
* Copyright 2015 jody albritton
*
* 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.
*
*/
definition(
name: "One At A Time Please",
namespace: "jodyalbritton",
author: "Jody Albritton",
description: "When one switch is turned on, turn the rest in the group off. ",
This file has been truncated. show original