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

Update candeo.ts #8907

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

candeodevelopment
Copy link

Updates Candeo C203:

  1. Adds additional model ID to support historically named devices
  2. Limits Level Cluster features to suit device
  3. Configures Level Cluster options to suit device
  4. Adds ability to change switch input type between momentary and toggle

candeodevelopment and others added 3 commits February 27, 2025 14:29
Updates Candeo C203:

1) Adds additional model ID to support historically named devices
2) Limits Level Cluster features to suit device
3) Configures Level Cluster options to suit device
4) Adds ability to change switch input type between momentary and toggle
Fix JS -> TS
model: "C203",
vendor: "Candeo",
description: "Zigbee micro smart dimmer",
extend: [m.light({configureReporting: true})],
Copy link
Owner

Choose a reason for hiding this comment

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

Why remove modern extend here? Please use that instead of the configure and from/toZigbee converters

Copy link
Author

Choose a reason for hiding this comment

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

How do we use modern extend to:

  1. Set defaults for things like OnLevel, OnOffTransitionTime, etc, that we wish for our devices to have when initially paired
  2. Configure reporting change / min / max to suit our devices
  3. Add our fzLocal.switch_type, tzLocal.switch_type and e.enum() exposes to allow setting of the switch input between momentary and toggle?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants