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

[v1.0 cherrypick] Update LevelControl to allow for disabling transition time and OnOff feature #24187

Conversation

ReneJosefsen
Copy link
Contributor

This is a cherrypick of #23679 and #23820 in order to allow level control cluster to:

  1. Ignore transition times
  2. Disable the linking to the OnOff cluster

The full description is available in #23679

ReneJosefsen and others added 2 commits December 22, 2022 12:10
…ure (project-chip#23679)

* Added ability to disable transitioning and onoff feature

* Fixes from restyle

* Fixed missing OnOff attribute change

* Only handle OnOff state for off
…hip#23820)

This simplifies the coupling a bit by doing this runtime feature check in the
same place where we are already doing the runtime check for existence of a
relevant Level Control cluster.  This allows us to remove some code in Level
Control that was duplicating existing code in On/Off.
@andy31415 andy31415 merged commit da92253 into project-chip:v1.0-branch Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants