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

New signature for Aqara roller shade driver E1 #1803

Merged
merged 1 commit into from
Oct 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions zhaquirks/xiaomi/aqara/roller_curtain_e1.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,49 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
},
},
}


class RollerE1AQ_2(RollerE1AQ):
"""Aqara Roller Shade Driver E1 (version 2) device."""

signature = {
MODELS_INFO: [(LUMI, "lumi.curtain.acn002")],
ENDPOINTS: {
# <SizePrefixedSimpleDescriptor endpoint=1 profile=260 device_type=256
# device_version=1
# input_clusters=[0, 2, 3, 4, 5, 6, 9, 13, 19, 258]
# output_clusters=[10, 25]>
1: {
PROFILE_ID: zha.PROFILE_ID,
DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
INPUT_CLUSTERS: [
Alarms.cluster_id,
AnalogOutput.cluster_id,
Basic.cluster_id,
DeviceTemperature.cluster_id,
Groups.cluster_id,
Identify.cluster_id,
MultistateOutput.cluster_id,
OnOff.cluster_id,
Scenes.cluster_id,
WindowCovering.cluster_id,
],
OUTPUT_CLUSTERS: [
Ota.cluster_id,
Time.cluster_id,
],
},
# <SizePrefixedSimpleDescriptor endpoint=242 profile=41440 device_type=97
# device_version=0,
# input_clusters=[]
# output_clusters=[33]>
242: {
PROFILE_ID: 41440,
DEVICE_TYPE: 0x0061,
INPUT_CLUSTERS: [],
OUTPUT_CLUSTERS: [
GreenPowerProxy.cluster_id,
],
},
},
}