mirror of
https://github.com/home-assistant/core.git
synced 2025-04-28 03:07:50 +00:00

* Add k10+ vacuum in switchbot cloud integration * Change label fan speed, Mapping state HA, Add others vacuums * Update homeassistant/components/switchbot_cloud/vacuum.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Remove comments and add mapping for fan speed --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
18 lines
468 B
Python
18 lines
468 B
Python
"""Constants for the SwitchBot Cloud integration."""
|
|
|
|
from datetime import timedelta
|
|
from typing import Final
|
|
|
|
DOMAIN: Final = "switchbot_cloud"
|
|
ENTRY_TITLE = "SwitchBot Cloud"
|
|
DEFAULT_SCAN_INTERVAL = timedelta(seconds=600)
|
|
|
|
SENSOR_KIND_TEMPERATURE = "temperature"
|
|
SENSOR_KIND_HUMIDITY = "humidity"
|
|
SENSOR_KIND_BATTERY = "battery"
|
|
|
|
VACUUM_FAN_SPEED_QUIET = "quiet"
|
|
VACUUM_FAN_SPEED_STANDARD = "standard"
|
|
VACUUM_FAN_SPEED_STRONG = "strong"
|
|
VACUUM_FAN_SPEED_MAX = "max"
|