Add config flow to pushover
(#74500)
* Add config flow to `pushover` * Add tests for reauth * add deprecated yaml issue * address comments * fix test error, other fixes * update translations
This commit is contained in:
parent
09aaf45f0a
commit
72a4f8af3d
13 changed files with 660 additions and 46 deletions
20
homeassistant/components/pushover/const.py
Normal file
20
homeassistant/components/pushover/const.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
"""Constants for pushover."""
|
||||
|
||||
from typing import Final
|
||||
|
||||
DOMAIN: Final = "pushover"
|
||||
DATA_HASS_CONFIG: Final = "pushover_hass_config"
|
||||
DEFAULT_NAME: Final = "Pushover"
|
||||
|
||||
ATTR_ATTACHMENT: Final = "attachment"
|
||||
ATTR_URL: Final = "url"
|
||||
ATTR_URL_TITLE: Final = "url_title"
|
||||
ATTR_PRIORITY: Final = "priority"
|
||||
ATTR_RETRY: Final = "retry"
|
||||
ATTR_SOUND: Final = "sound"
|
||||
ATTR_HTML: Final = "html"
|
||||
ATTR_CALLBACK_URL: Final = "callback_url"
|
||||
ATTR_EXPIRE: Final = "expire"
|
||||
ATTR_TIMESTAMP: Final = "timestamp"
|
||||
|
||||
CONF_USER_KEY: Final = "user_key"
|
Loading…
Add table
Add a link
Reference in a new issue