2020-04-05 22:46:50 +00:00
|
|
|
"""Define constants for the SleepIQ component."""
|
|
|
|
|
2022-02-16 14:51:29 +00:00
|
|
|
DATA_SLEEPIQ = "data_sleepiq"
|
2020-04-05 22:46:50 +00:00
|
|
|
DOMAIN = "sleepiq"
|
|
|
|
|
2022-03-12 19:58:03 +00:00
|
|
|
ACTUATOR = "actuator"
|
2022-02-16 14:51:29 +00:00
|
|
|
BED = "bed"
|
2022-03-05 21:45:56 +00:00
|
|
|
FIRMNESS = "firmness"
|
2022-02-16 14:51:29 +00:00
|
|
|
ICON_EMPTY = "mdi:bed-empty"
|
|
|
|
ICON_OCCUPIED = "mdi:bed"
|
2020-04-05 22:46:50 +00:00
|
|
|
IS_IN_BED = "is_in_bed"
|
2022-03-03 20:27:22 +00:00
|
|
|
PRESSURE = "pressure"
|
2022-03-05 21:45:56 +00:00
|
|
|
SLEEP_NUMBER = "sleep_number"
|
2022-03-12 19:58:03 +00:00
|
|
|
ENTITY_TYPES = {
|
|
|
|
ACTUATOR: "Position",
|
2022-03-05 21:45:56 +00:00
|
|
|
FIRMNESS: "Firmness",
|
2022-03-03 20:27:22 +00:00
|
|
|
PRESSURE: "Pressure",
|
2022-03-05 21:45:56 +00:00
|
|
|
IS_IN_BED: "Is In Bed",
|
|
|
|
SLEEP_NUMBER: "SleepNumber",
|
2022-03-03 20:27:22 +00:00
|
|
|
}
|
2020-04-05 22:46:50 +00:00
|
|
|
|
|
|
|
LEFT = "left"
|
|
|
|
RIGHT = "right"
|
|
|
|
SIDES = [LEFT, RIGHT]
|
2022-02-18 18:50:44 +00:00
|
|
|
|
|
|
|
SLEEPIQ_DATA = "sleepiq_data"
|
|
|
|
SLEEPIQ_STATUS_COORDINATOR = "sleepiq_status"
|