mirror of
https://github.com/home-assistant/core.git
synced 2025-05-12 18:09:17 +00:00

* Remove global variable from sleepiq * Remove global variable from sleepiq v2 * Create constant file * Move back time constant * Update homeassistant/components/sleepiq/__init__.py Co-Authored-By: Quentame <polletquentin74@me.com> Co-authored-by: Quentame <polletquentin74@me.com>
12 lines
247 B
Python
12 lines
247 B
Python
"""Define constants for the SleepIQ component."""
|
|
|
|
DOMAIN = "sleepiq"
|
|
|
|
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]
|