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

Commit

Permalink
0.1.76 (#437)
Browse files Browse the repository at this point in the history
* Bump version

* Add new HMIP Evo (HmIP-eTRV-E) (#434)

* Add device support for HmIP-WHS2 (#436)

* Update changelog

Co-authored-by: emufan <[email protected]>
Co-authored-by: wutr <[email protected]>
  • Loading branch information
3 people authored Oct 20, 2021
1 parent 43f8d40 commit a6256ed
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 0.1.76 (2021-10-20)
- Add HmIP-WHS2 @wutr
- Add HmIP-eTRV-E @emufan

Version 0.1.75 (2021-10-03)
- Reduce some log levels
- Add RSSI for HmIP-DRSI1 (Issue #428) @emufan
Expand Down
16 changes: 15 additions & 1 deletion pyhomematic/devicetypes/actors.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,6 @@ def __init__(self, device_description, proxy, resolveparamsets=False):
def ELEMENT(self):
return [2, 3, 4, 6, 7, 8]


class ColorEffectLight(Dimmer):
"""
Color light with dimmer function and color effects.
Expand Down Expand Up @@ -1065,6 +1064,20 @@ def get_voltage(self, channel=None):
def ELEMENT(self):
return self._doc

class IPWHS2(GenericSwitch, HelperActionOnTime, HelperRssiDevice):
"""
HmIP-WHS2 Central Heating and Hot Water actuator
"""
def __init__(self, device_description, proxy, resolveparamsets=False):
super().__init__(device_description, proxy, resolveparamsets)

# Channels 1 and 5 show the state of physical output 1 and 2 respectively.
self.BINARYNODE.update({"STATE": [1, 5]})

@property
def ELEMENT(self):
return [2, 6]

DEVICETYPES = {
"HM-LC-Bl1-SM": Blind,
"HM-LC-Bl1-SM-2": Blind,
Expand Down Expand Up @@ -1235,4 +1248,5 @@ def ELEMENT(self):
"HM-LC-DW-WM": ColdWarmDimmer,
"HB-UNI-RGB-LED-CTRL": ColorEffectLight,
"HmIP-MIO16-PCB": IPMultiIOPCB,
"HmIP-WHS2": IPWHS2,
}
1 change: 1 addition & 0 deletions pyhomematic/devicetypes/thermostats.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ def turnoff(self):
"HmIP-eTRV-B1": IPThermostat,
"HmIP-eTRV-C": IPThermostat,
"HmIP-eTRV-C-2": IPThermostat,
"HmIP-eTRV-E": IPThermostat,
"Thermostat AA": IPThermostat,
"Thermostat AA GB": IPThermostat,
"HmIP-STHD": IPThermostatWall2,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def readme():

PACKAGE_NAME = 'pyhomematic'
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION = '0.1.75'
VERSION = '0.1.76'

PACKAGES = find_packages(exclude=['dist', 'build', 'tests'])

Expand Down

0 comments on commit a6256ed

Please sign in to comment.