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

Add support ydhome.switch.s2 #1507

Closed
gujiys opened this issue Dec 3, 2024 · 2 comments
Closed

Add support ydhome.switch.s2 #1507

gujiys opened this issue Dec 3, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gujiys
Copy link

gujiys commented Dec 3, 2024

Please help add new device
https://home.miot-spec.com/spec/ydhome.switch.s2

@gujiys
Copy link
Author

gujiys commented Dec 3, 2024

from custom_components.xiaomi_gateway3.core.devices import *

DEVICES = [{
2448: ["ydhome", "Two-Button Switch ", "ydhome.switch.s2"],
"spec": [
BaseConv("left_switch", "switch", mi="2.p.1"),
BaseConv("right_switch", "switch", mi="3.p.1"),
]
}] + DEVICES

@AlexxIT AlexxIT added the enhancement New feature or request label Dec 4, 2024
@AlexxIT AlexxIT self-assigned this Dec 4, 2024
@AlexxIT AlexxIT changed the title Add device request Add support ydhome.switch.s2 Dec 25, 2024
@AlexxIT AlexxIT added this to the v4.0.8 milestone Dec 25, 2024
AlexxIT added a commit that referenced this issue Dec 26, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Dec 28, 2024

@AlexxIT AlexxIT closed this as completed Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants