Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the Rituals Perfume Genie integration."""
2
3
from
datetime
import
timedelta
4
5
DOMAIN =
"rituals_perfume_genie"
6
7
ACCOUNT_HASH =
"account_hash"
8
9
# The API provided by Rituals is currently rate limited to 30 requests
10
# per hour per IP address. To avoid hitting this limit, the polling
11
# interval is set to 3 minutes. This also gives a little room for
12
# Home Assistant restarts.
13
UPDATE_INTERVAL =
timedelta
(minutes=3)
homeassistant.components.uptimerobot.const.timedelta
timedelta
Definition:
const.py:14
core
homeassistant
components
rituals_perfume_genie
const.py
Generated by
1.9.1