20 lines
482 B
Python
20 lines
482 B
Python
"""Define constants for the SleepIQ component."""
|
|
|
|
DATA_SLEEPIQ = "data_sleepiq"
|
|
DOMAIN = "sleepiq"
|
|
SLEEPYQ_INVALID_CREDENTIALS_MESSAGE = "username or password"
|
|
|
|
BED = "bed"
|
|
ICON_EMPTY = "mdi:bed-empty"
|
|
ICON_OCCUPIED = "mdi:bed"
|
|
IS_IN_BED = "is_in_bed"
|
|
SLEEP_NUMBER = "sleep_number"
|
|
SENSOR_TYPES = {SLEEP_NUMBER: "SleepNumber", IS_IN_BED: "Is In Bed"}
|
|
|
|
LEFT = "left"
|
|
RIGHT = "right"
|
|
SIDES = [LEFT, RIGHT]
|
|
|
|
SLEEPIQ_DATA = "sleepiq_data"
|
|
SLEEPIQ_STATUS_COORDINATOR = "sleepiq_status"
|