Z-Wave: Fibaro FGR*-222: Add venetian blind support (#29701)

The Fibaro FGR-222/FGRM-2222 ZWave roller shutter devices have a proprietary
command class to support setting the tilt angle of venetian blinds (= type of
window cover). This PR adds the support to HA for this. This allows the user to
set the height of the blinds and the tilt angle separately.

Original patch by @ChristianKuehnel #24405.
This commit is contained in:
Andre Richter authored and Alexei Chetroi committed 2019-12-17 09:26:19 -05:00
1 parent 78e831b08e
commit 115aa2e49c
2 files changed
+149

No files matched your search

@@ -79,12 +79,14 @@ CONF_REFRESH_DELAY = "delay"
CONF_DEVICE_CONFIG = "device_config"
CONF_DEVICE_CONFIG_GLOB = "device_config_glob"
CONF_DEVICE_CONFIG_DOMAIN = "device_config_domain"
CONF_TILT_OPEN_POSITION = "tilt_open_position"
DEFAULT_CONF_IGNORED = False
DEFAULT_CONF_INVERT_OPENCLOSE_BUTTONS = False
DEFAULT_CONF_INVERT_PERCENT = False
DEFAULT_CONF_REFRESH_VALUE = False
DEFAULT_CONF_REFRESH_DELAY = 5
DEFAULT_CONF_TILT_OPEN_POSITION = 50
SUPPORTED_PLATFORMS = [
"binary_sensor",
@@ -214,6 +216,9 @@ DEVICE_CONFIG_SCHEMA_ENTRY = vol.Schema(
vol.Optional(
CONF_REFRESH_DELAY, default=DEFAULT_CONF_REFRESH_DELAY
): cv.positive_int,
vol.Optional(
CONF_TILT_OPEN_POSITION, default=DEFAULT_CONF_TILT_OPEN_POSITION
): cv.positive_int,
}
)