Skip to content

add wallhero_thermostat_ACL-403STC1#2969

Open
thinkaName wants to merge 1 commit into
SmartThingsCommunity:mainfrom
thinkaName:wallhero_thermostat_ACL-403STC1
Open

add wallhero_thermostat_ACL-403STC1#2969
thinkaName wants to merge 1 commit into
SmartThingsCommunity:mainfrom
thinkaName:wallhero_thermostat_ACL-403STC1

Conversation

@thinkaName
Copy link
Copy Markdown
Contributor

@thinkaName thinkaName commented May 14, 2026

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
Copy Markdown

github-actions Bot commented May 14, 2026

Duplicate profile check: Passed - no duplicate profiles detected.

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 14, 2026

Test Results

   73 files  ± 0    516 suites  +1   0s ⏱️ ±0s
2 932 tests +33  2 932 ✅ +33  0 💤 ±0  0 ❌ ±0 
4 838 runs  +43  4 838 ✅ +43  0 💤 ±0  0 ❌ ±0 

Results for commit 732b396. ± Comparison against base commit bb23ee7.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 14, 2026

File Coverage
All files 95%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/wallhero/init.lua 96%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/stelpro/init.lua 87%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/resideo_korea/init.lua 90%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/stelpro-ki-zigbee-thermostat/init.lua 96%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/popp/init.lua 92%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/aqara/init.lua 94%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/vimar/init.lua 89%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/zenwithin/init.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/init.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/lazy_load_subdriver.lua 57%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/lux-konoz/can_handle.lua 83%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-thermostat/src/sinope/init.lua 97%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 732b396

@thinkaName thinkaName force-pushed the wallhero_thermostat_ACL-403STC1 branch from f628c54 to 732b396 Compare May 27, 2026 03:55
Comment on lines +106 to +112
socket.sleep(1)--Avoid wireless congestion and packet loss
device:send_to_component("main", Thermostat.attributes.SystemMode:read(device))
device:send_to_component("main", FanControl.attributes.FanMode:read(device))
socket.sleep(1)
device:send_to_component("fan", OnOff.attributes.OnOff:read(device))
device:send_to_component("fan", FanControl.attributes.FanMode:read(device))
socket.sleep(1)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These sleeps are not necessary. We rate limit to avoid congestion on our hubs

local function endpoint_to_component(device, ep)
if ep > 3 then
ep = ep - 3
local button_comp = string.format("button%d+", ep)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
local button_comp = string.format("button%d+", ep)
local button_comp = string.format("button%d", ep)

Erroneous character

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.

3 participants