1
mirror of https://github.com/home-assistant/core synced 2024-10-04 07:58:43 +02:00
ha-core/homeassistant/components/simplepush/const.py
Timm Schäuble 2e26b6e0cc
Add attachments to simplepush (#81033)
* Add attachments

* Fix looking for attachment keywords in values

* Improve attachment input format

* Implement better approach to attachment parsing

* Make ruff happy

* Adjust attachment format and implementation according to comment from emontnemery
2023-03-31 14:10:12 +02:00

15 lines
360 B
Python

"""Constants for the simplepush integration."""
from typing import Final
DOMAIN: Final = "simplepush"
DEFAULT_NAME: Final = "simplepush"
DATA_HASS_CONFIG: Final = "simplepush_hass_config"
ATTR_ATTACHMENTS: Final = "attachments"
ATTR_ENCRYPTED: Final = "encrypted"
ATTR_EVENT: Final = "event"
CONF_DEVICE_KEY: Final = "device_key"
CONF_SALT: Final = "salt"