Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Define constants for the Point component."""
2 
3 from datetime import timedelta
4 
5 DOMAIN = "point"
6 
7 SCAN_INTERVAL = timedelta(minutes=1)
8 
9 CONF_WEBHOOK_URL = "webhook_url"
10 CONF_REFRESH_TOKEN = "refresh_token"
11 EVENT_RECEIVED = "point_webhook_received"
12 SIGNAL_UPDATE_ENTITY = "point_update"
13 SIGNAL_WEBHOOK = "point_webhook"
14 
15 POINT_DISCOVERY_NEW = "point_new_{}"
16 
17 OAUTH2_AUTHORIZE = "https://api.minut.com/v8/oauth/authorize"
18 OAUTH2_TOKEN = "https://api.minut.com/v8/oauth/token"