Files
up-ha/custom_components/up_banking/const.py
T
git 264a7dd42f
Validate / syntax (push) Canceled after 0s
Initial Up Banking Home Assistant integration
2026-09-27 17:36:54 +10:00

13 lines
352 B
Python

"""Constants for Up Banking."""
from datetime import timedelta
DOMAIN = "up_banking"
PLATFORMS = ["sensor"]
CONF_TOKEN = "token"
CONF_ACCOUNTS = "accounts"
EVENT_TRANSACTION = "up_banking_transaction"
DEFAULT_SCAN_INTERVAL = timedelta(minutes=5)
STORAGE_VERSION = 1
STORAGE_KEY = f"{DOMAIN}.seen_transactions"
API_URL = "https://api.up.com.au/api/v1"