Files
homeassistant-core/homeassistant/components/switchbot_cloud/const.py
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
331 B
Python
Raw Normal View History

2023-09-16 23:00:41 +09:00
"""Constants for the SwitchBot Cloud integration."""
2023-09-16 23:00:41 +09:00
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"