core/homeassistant/components/senseme/const.py

24 lines
459 B
Python
Raw Normal View History

"""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.SWITCH]