Skip to content

Commit

Permalink
Merge pull request #1903 from SmartThingsCommunity/switch-comment-fixup
Browse files Browse the repository at this point in the history
Fixup: Remove unclear log statement and apply it as an internal driver comment
  • Loading branch information
hcarter-775 authored Jan 27, 2025
2 parents c14522d + c1bddc0 commit 18dedf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/SmartThings/matter-switch/src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ local function initialize_switch(driver, device)
end
if #button_eps > 1 and tbl_contains(STATIC_BUTTON_PROFILE_SUPPORTED, #button_eps) then
if #temperature_eps > 0 and #humidity_eps > 0 then
device.log.debug("So far, it means Aqara Climate Sensor W100.")
-- for now, this logic only applies to the Aqara Climate Sensor W100.
profile_name = "-temperature-humidity"
end
if battery_support then
Expand Down

0 comments on commit 18dedf7

Please sign in to comment.