2020-11-23 20:33:14 +00:00
|
|
|
"""Constants for the Motion Blinds component."""
|
|
|
|
DOMAIN = "motion_blinds"
|
2020-12-23 23:15:11 +00:00
|
|
|
MANUFACTURER = "Motion Blinds, Coulisse B.V."
|
|
|
|
DEFAULT_GATEWAY_NAME = "Motion Blinds Gateway"
|
|
|
|
|
2021-03-02 20:43:59 +00:00
|
|
|
PLATFORMS = ["cover", "sensor"]
|
2020-11-23 20:33:14 +00:00
|
|
|
|
2021-10-18 21:34:51 +00:00
|
|
|
CONF_WAIT_FOR_PUSH = "wait_for_push"
|
|
|
|
CONF_INTERFACE = "interface"
|
|
|
|
DEFAULT_WAIT_FOR_PUSH = False
|
|
|
|
DEFAULT_INTERFACE = "any"
|
|
|
|
|
2020-11-23 20:33:14 +00:00
|
|
|
KEY_GATEWAY = "gateway"
|
|
|
|
KEY_COORDINATOR = "coordinator"
|
2020-12-23 23:15:11 +00:00
|
|
|
KEY_MULTICAST_LISTENER = "multicast_listener"
|
2020-12-28 21:09:53 +00:00
|
|
|
|
|
|
|
ATTR_WIDTH = "width"
|
|
|
|
ATTR_ABSOLUTE_POSITION = "absolute_position"
|
2021-03-26 03:06:40 +00:00
|
|
|
ATTR_AVAILABLE = "available"
|
2020-12-28 21:09:53 +00:00
|
|
|
|
|
|
|
SERVICE_SET_ABSOLUTE_POSITION = "set_absolute_position"
|
2021-03-26 03:06:40 +00:00
|
|
|
|
|
|
|
UPDATE_INTERVAL = 600
|
|
|
|
UPDATE_INTERVAL_FAST = 60
|