Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Update misc.py #363

Merged
merged 3 commits into from
Dec 27, 2020
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
3 changes: 2 additions & 1 deletion pyhomematic/devicetypes/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Remote(HMEvent, HelperEventRemote, HelperActionPress, HelperRssiPeer):

@property
def ELEMENT(self):
if "RC-2" in self.TYPE or "PB-2" in self.TYPE or "WRC2" in self.TYPE or "BRC2" in self.TYPE:
if "RC-2" in self.TYPE or "PB-2" in self.TYPE or "WRC2" in self.TYPE or "BRC2" in self.TYPE or "WRCC2" in self.TYPE:
return [1, 2]
if "HM-Dis-WM55" in self.TYPE or "HM-Dis-EP-WM55" in self.TYPE:
return [1, 2]
Expand Down Expand Up @@ -138,6 +138,7 @@ def ELEMENT(self):
"HMW-IO-4-FM": Remote,
"HMIP-WRC2": RemoteBatteryIP,
"HmIP-WRC2": RemoteBatteryIP,
Remko76 marked this conversation as resolved.
Show resolved Hide resolved
"HmIP-WRCC2": RemoteBatteryIP,
"HmIP-BRC2": Remote,
"HmIP-WRC6": RemoteBatteryIP,
"HmIP-WRCD": RemoteBatteryIP,
Expand Down