Skip to content

Conversation

@yuanxin32323
Copy link
Contributor

Added the mute function to the MIR-SM200 smoke detector.

MIRSM200: {
key: ["silence"],
convertSet: async (entity, key, value, meta) => {
if (value === "enable") {
Copy link
Owner

Choose a reason for hiding this comment

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

can it also be used to turn off? otherwise we should use an enum as expose with just the enable value

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.

2 participants