Skip to content
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

Matter Sensor: add temp/humidity offset preferences to profiles #1823

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

ctowns
Copy link
Contributor

@ctowns ctowns commented Dec 13, 2024

CHAD-14584
Note: This is a profile-only change!

Type of Change

  • WWST Certification Request
    • If this is your first time contributing code:
      • I have reviewed the README.md file
      • I have reviewed the CODE_OF_CONDUCT.md file
      • I have signed the CLA
    • I plan on entering a WWST Certification Request or have entered a request through the WWST Certification console at developer.smartthings.com
  • Bug fix
  • New feature
  • Refactor

Checklist

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have verified my changes by testing with a device or have communicated a plan for testing
  • I am adding new behavior, such as adding a sub-driver, and have added and run new unit tests to cover the new behavior

Description of Change

Adds temperatureOffset and relativeHumidityOffset preferences to profiles that support the temperatureMeasurement and relativeHumidityMeasurement capabilities.

This is a profile change only to add preferences.

Summary of Completed Tests

Onboarded a device using one of the updated profiles (aqs-temp-humidity-all-meas) without the changes. Preferences were not visible in the "Settings" menu of the device card. Then, the driver was updated to the new profile with the preferences added from this PR. Confirmed that the preferences are now visible in the "Settings" menu of the device after the driver is updated. No reonboarding is needed.

Adds temperatureOffset and relativeHumidityOffset preferences to profiles that
support the temperatureMeasurement and relativeHumidityMeasurement capabilities.
Copy link

Duplicate profile check: Passed - no duplicate profiles detected.

Copy link

github-actions bot commented Dec 13, 2024

Channel deleted.

Copy link

Test Results

   64 files    402 suites   0s ⏱️
2 001 tests 2 001 ✅ 0 💤 0 ❌
3 455 runs  3 455 ✅ 0 💤 0 ❌

Results for commit 7623c0f.

Copy link

File Coverage
All files 88%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-sensor/src/smoke-co-alarm/init.lua 83%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-sensor/src/air-quality-sensor/init.lua 92%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-sensor/src/embedded-cluster-utils.lua 45%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-sensor/src/init.lua 92%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 7623c0f

@hcarter-775
Copy link
Contributor

@ctowns bump on merging this, or is there a reason you've held off?

@ctowns ctowns merged commit 1e7eec4 into main Jan 13, 2025
12 checks passed
@ctowns ctowns deleted the CHAD-14584-matter-sensor branch January 13, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants