Skip to content

Commit

Permalink
Add Aqara H1 Wireless Remote Double Rocker variant
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Sep 10, 2024
1 parent acecf70 commit 36c2165
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions zhaquirks/xiaomi/aqara/remote_h1.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,3 +393,45 @@ class RemoteH1DoubleRocker4(RemoteH1DoubleRocker1):
},
},
}


class RemoteH1DoubleRocker5(RemoteH1DoubleRocker1):
"""Aqara H1 Wireless Remote Double Rocker Version WRS-R02, variant 5."""

signature = {
MODELS_INFO: [(LUMI, "lumi.remote.b28ac1")],
ENDPOINTS: {
1: {
PROFILE_ID: zha.PROFILE_ID,
DEVICE_TYPE: zha.DeviceType.COLOR_DIMMER_SWITCH,
INPUT_CLUSTERS: [
Basic.cluster_id,
Identify.cluster_id,
PowerConfiguration.cluster_id,
],
OUTPUT_CLUSTERS: [
Identify.cluster_id,
OnOff.cluster_id,
LevelControl.cluster_id,
Color.cluster_id,
],
},
2: {
PROFILE_ID: zha.PROFILE_ID,
DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT_SWITCH,
INPUT_CLUSTERS: [
Identify.cluster_id,
],
OUTPUT_CLUSTERS: [
Identify.cluster_id,
OnOff.cluster_id,
],
},
3: {
PROFILE_ID: zha.PROFILE_ID,
DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT_SWITCH,
INPUT_CLUSTERS: [Identify.cluster_id],
OUTPUT_CLUSTERS: [OnOff.cluster_id],
},
},
}

0 comments on commit 36c2165

Please sign in to comment.