1
mirror of https://github.com/home-assistant/core synced 2024-08-28 03:36:46 +02:00
ha-core/homeassistant/components/baf/const.py
J. Nick Koston 51c6a68036
Add Big Ass Fans integration (#71498)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-14 17:22:47 -05:00

20 lines
346 B
Python

"""Constants for the Big Ass Fans integration."""
DOMAIN = "baf"
# Most properties are pushed, only the
# query every 5 minutes so we keep the RPM
# sensors up to date
QUERY_INTERVAL = 300
RUN_TIMEOUT = 20
PRESET_MODE_AUTO = "Auto"
SPEED_COUNT = 7
SPEED_RANGE = (1, SPEED_COUNT)
ONE_MIN_SECS = 60
ONE_DAY_SECS = 86400
HALF_DAY_SECS = 43200