30 lines
515 B
Python
30 lines
515 B
Python
"""Constants for the SenseME integration."""
|
|
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "senseme"
|
|
|
|
# Periodic fan update rate in minutes
|
|
UPDATE_RATE = 1
|
|
|
|
# data storage
|
|
CONF_INFO = "info"
|
|
CONF_HOST_MANUAL = "IP Address"
|
|
DISCOVERY = "discovery"
|
|
|
|
# Fan Preset Modes
|
|
PRESET_MODE_WHOOSH = "Whoosh"
|
|
|
|
# Fan Directions
|
|
SENSEME_DIRECTION_FORWARD = "FWD"
|
|
SENSEME_DIRECTION_REVERSE = "REV"
|
|
|
|
PLATFORMS = [
|
|
Platform.BINARY_SENSOR,
|
|
Platform.FAN,
|
|
Platform.LIGHT,
|
|
Platform.SELECT,
|
|
Platform.SWITCH,
|
|
]
|