core/homeassistant/components/openexchangerates/const.py

10 lines
255 B
Python

"""Provide common constants for Open Exchange Rates."""
from datetime import timedelta
import logging
DOMAIN = "openexchangerates"
LOGGER = logging.getLogger(__package__)
BASE_UPDATE_INTERVAL = timedelta(hours=2)
CLIENT_TIMEOUT = 10
DEFAULT_BASE = "USD"