-
Notifications
You must be signed in to change notification settings - Fork 510
ZLL: Use Native / Default handlers #2440
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?
Conversation
Invitation URL: |
Minimum allowed coverage is Generated by 🐒 cobertura-action against 6e40aa4 |
f541dd9
to
5a0c5ab
Compare
cce4958
to
7fc35dc
Compare
d037473
to
32d969f
Compare
32d969f
to
6e40aa4
Compare
|
||
test.socket.zigbee:__expect_send({ mock_device.id, OnOff.attributes.OnOff:read(mock_device) }) | ||
test.socket.zigbee:__expect_send({ mock_device.id, Level.attributes.CurrentLevel:read(mock_device) }) | ||
if version.api <= 15 then |
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 was having issues running the setColorTemperature
tests locally with this operator set to <=
(no issues with <
). Would this be pointing to a problem with how I'm using the version? Or is there some Lua magic that I'm missing?
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.
Well the way you've written things, wouldn't the initial on/offs also not be sent when the native handlers are used?
@cjswedes probably has more insight here.
Type of Change
Checklist
Description of Change
This pull request defaults handing for
on
,off
,set_level
, andset_color_temperature
in the ZLL sub-driver back to the mainzigbee-switch
driver.Summary of Completed Tests