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

DDF for Aqara Dual Relay Module T2 (DCM-K01) #7847

Merged
merged 4 commits into from
Aug 8, 2024

Conversation

SwoopX
Copy link
Collaborator

@SwoopX SwoopX commented Jul 20, 2024

No description provided.

@SwoopX SwoopX added this to the v2.28.0-beta milestone Jul 20, 2024
@SwoopX SwoopX linked an issue Jul 20, 2024 that may be closed by this pull request
1 task
@manup
Copy link
Member

manup commented Aug 7, 2024

Validator has some problem with JSON here?

@Zehir
Copy link
Collaborator

Zehir commented Aug 7, 2024

Validator has some problem with JSON here?

Yes but even if he don't say what there is a problem here, it's because there is no generic file for subdevice $TYPE_ON_OFF_SWITCH.

Error: ENOENT: no such file or directory, open 'devices/generic/subdevices/on_off_switch.json'

When I can I will update it to add a better error message here.

@Zehir
Copy link
Collaborator

Zehir commented Aug 7, 2024

@SwoopX I suppose you wanted to use $TYPE_ON_OFF_LIGHT here ?

@SwoopX
Copy link
Collaborator Author

SwoopX commented Aug 7, 2024

Nope, the device is of type on/off switch. But if there's no such constant defined, that kinda explains the error message. Could add that maybe later today.

@Zehir
Copy link
Collaborator

Zehir commented Aug 7, 2024

Nope, the device is of type on/off switch. But if there's no such constant defined, that kinda explains the error message. Could add that maybe later today.

True, it's defined in the constants.json file but there is no subdevice generic for it

Copy link
Contributor

github-actions bot commented Aug 7, 2024

Hey @SwoopX, thanks for your pull request!

Tip

Modified bundles can be downloaded here.
Relative expire date

DDB changes

Modified

  • xiaomi/xiaomi_dcm-k01_t2_dual_relay.json : Aqara Dual Relay Module T2 (DCM-K01) ✔️

Validation

Tip

Everything is fine !

🕙 Updated for commit 0286ec7

@manup manup merged commit 7e316d0 into dresden-elektronik:master Aug 8, 2024
1 check passed
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.

Aqara Dual Relay Module T2
3 participants