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

Adding attribute for OnOff cluster TS001X #1141

Merged
merged 1 commit into from
Nov 11, 2021
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
14 changes: 7 additions & 7 deletions zhaquirks/tuya/ts001x.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
PROFILE_ID,
SKIP_CONFIGURATION,
)
from zhaquirks.tuya import TuyaSwitch
from zhaquirks.tuya import TuyaSwitch, TuyaZBOnOffAttributeCluster


class TuyaSingleNoNeutralSwitch(TuyaSwitch):
Expand Down Expand Up @@ -53,7 +53,7 @@ class TuyaSingleNoNeutralSwitch(TuyaSwitch):
Basic.cluster_id,
Groups.cluster_id,
Scenes.cluster_id,
OnOff.cluster_id,
TuyaZBOnOffAttributeCluster,
],
OUTPUT_CLUSTERS: [Ota.cluster_id],
},
Expand Down Expand Up @@ -115,7 +115,7 @@ class TuyaDoubleNoNeutralSwitch(TuyaSwitch):
Basic.cluster_id,
Groups.cluster_id,
Scenes.cluster_id,
OnOff.cluster_id,
TuyaZBOnOffAttributeCluster,
],
OUTPUT_CLUSTERS: [Ota.cluster_id],
},
Expand All @@ -125,7 +125,7 @@ class TuyaDoubleNoNeutralSwitch(TuyaSwitch):
INPUT_CLUSTERS: [
Groups.cluster_id,
Scenes.cluster_id,
OnOff.cluster_id,
TuyaZBOnOffAttributeCluster,
],
OUTPUT_CLUSTERS: [],
},
Expand Down Expand Up @@ -201,7 +201,7 @@ class TuyaTripleNoNeutralSwitch(TuyaSwitch):
Basic.cluster_id,
Groups.cluster_id,
Scenes.cluster_id,
OnOff.cluster_id,
TuyaZBOnOffAttributeCluster,
],
OUTPUT_CLUSTERS: [Ota.cluster_id],
},
Expand All @@ -211,7 +211,7 @@ class TuyaTripleNoNeutralSwitch(TuyaSwitch):
INPUT_CLUSTERS: [
Groups.cluster_id,
Scenes.cluster_id,
OnOff.cluster_id,
TuyaZBOnOffAttributeCluster,
],
OUTPUT_CLUSTERS: [],
},
Expand All @@ -221,7 +221,7 @@ class TuyaTripleNoNeutralSwitch(TuyaSwitch):
INPUT_CLUSTERS: [
Groups.cluster_id,
Scenes.cluster_id,
OnOff.cluster_id,
TuyaZBOnOffAttributeCluster,
],
OUTPUT_CLUSTERS: [],
},
Expand Down