-
Notifications
You must be signed in to change notification settings - Fork 485
[Aqara] Update Aqara Door and Window Sensor T1 driver #2113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[Aqara] Update Aqara Door and Window Sensor T1 driver #2113
Conversation
…ol, changed capability from battery to batteryLevel, and applied battery info in status messages.
Duplicate profile check: Passed - no duplicate profiles detected. |
Invitation URL: |
Test Results 66 files ± 0 427 suites +2 0s ⏱️ ±0s Results for commit 74d1039. ± Comparison against base commit d773c03. This pull request removes 3 and adds 28 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Minimum allowed coverage is Generated by 🐒 cobertura-action against 74d1039 |
local PRIVATE_CLUSTER_ID = 0xFCC0 | ||
local PRIVATE_ATTRIBUTE_ID = 0x0009 | ||
local PRIVATE_HEART_BATTERY_ENERGY_ID = 0x00F7 | ||
|
||
local FINGERPRINTS = { | ||
{ mfr = "LUMI", model = "lumi.magnet.agl02" } | ||
} | ||
|
||
local CONFIGURATIONS = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you please add the configureReport for on/off cluster like...
{
cluster = OnOff.ID,
attribute = OnOff.attributes.OnOff.ID,
minimum_interval = 30,
maximum_interval = 3600,
data_type = OnOff.attributes.OnOff.base_type,
reportable_change = 1
},
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, added the corresponding configureReport for the On/Off cluster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please omit profile
from the filename, this is a pattern we have moved away from
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the the profile file name.
-- Copyright 2022 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please keep the copyright notice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have kept the copyright notice.
…ol, changed capability from battery to batteryLevel, and applied battery info in status messages.
Check all that apply
Type of Change
Checklist
Description of Change
Summary of Completed Tests