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

Add Sensornode for HMIP blind actuators with tilt functionality #365

Merged
merged 1 commit into from
Dec 30, 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
8 changes: 8 additions & 0 deletions pyhomematic/devicetypes/actors.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@ def ELEMENT(self):


class IPKeyBlindTilt(IPKeyBlind, HelperActorBlindTilt):
"""
Blind switch that raises, lowers and adjusts the slat position of shutters or blinds.
"""
def __init__(self, device_description, proxy, resolveparamsets=False):
super().__init__(device_description, proxy, resolveparamsets)

# init metadata
self.SENSORNODE.update({"LEVEL_2": [3]})

def close_slats(self, channel=None):
"""Move the shutter up all the way."""
Expand Down