Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Provide common constants for Open Exchange Rates."""
2 
3 from datetime import timedelta
4 import logging
5 
6 DOMAIN = "openexchangerates"
7 LOGGER = logging.getLogger(__package__)
8 BASE_UPDATE_INTERVAL = timedelta(hours=2)
9 CLIENT_TIMEOUT = 10
10 DEFAULT_BASE = "USD"