Skip to content

Conversation

@marcintyminski
Copy link
Contributor

Check all that apply

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

Summary of Completed Tests

@github-actions
Copy link

Duplicate profile check: Passed - no duplicate profiles detected.

@github-actions
Copy link

github-actions bot commented Sep 30, 2025

Channel deleted.

@github-actions
Copy link

github-actions bot commented Sep 30, 2025

Test Results

   71 files    469 suites   0s ⏱️
2 456 tests 2 456 ✅ 0 💤 0 ❌
4 176 runs  4 176 ✅ 0 💤 0 ❌

Results for commit dc86e72.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Sep 30, 2025

File Coverage
All files 95%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-humidity-sensor/src/init.lua 94%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-humidity-sensor/src/aqara/init.lua 93%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-humidity-sensor/src/plant-link/init.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-humidity-sensor/src/frient-sensor/air-quality/init.lua 88%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-humidity-sensor/src/frient-sensor/init.lua 95%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against dc86e72

@greens greens changed the title Add support to frient air quality sensor WWSTCERT-8756 Add support to frient air quality sensor Nov 4, 2025
local function voc_measure_value_attr_handler(driver, device, attr_val, zb_rx)
local voc_value = attr_val.value
if (voc_value < 65535) then -- ignore it if it's outside the limits
log.trace("Received VOC MeasuredValue :"..util.stringify_table(voc_value))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you're happy with the current state of the code, please remove logging statements.


local function do_refresh(driver, device)
log.trace "Refreshing sensor attributes"
for _, fingerprint in ipairs(FRIENT_AIR_QUALITY_SENSOR_FINGERPRINTS) do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you expecting to add more models to this sub-driver?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a possibility that we will need to add another model in the near future.

@KKlimczukS KKlimczukS requested a review from greens November 17, 2025 09:05
@greens greens merged commit 2994e5e into SmartThingsCommunity:main Nov 18, 2025
12 checks passed
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