pablopoo
(Pablo Poo)
November 4, 2020, 2:17pm
85
Hi,
I added the device fingerprint and battery support (changed vid to the generic configuration with battery tile). Please someone can try it with different batteries with different charges?. Thanks!
/*
* Sonoff temp and humidity sensor
*
*
* 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.
*
*/
import physicalgraph.zigbee.zcl.DataType
metadata {
definition(name: "Sonoff temp and humidity sensor", namespace: "smartthings", author: "SmartThings", mnmn:"SmartThings", vid:"generic-humidity") {
capability "Configuration"
capability "Battery"
This file has been truncated. show original