Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.pushsafer.notify Namespace Reference

Classes

class  PushsaferNotificationService
 

Functions

PushsaferNotificationService get_service (HomeAssistant hass, ConfigType config, DiscoveryInfoType|None discovery_info=None)
 

Variables

list _ALLOWED_IMAGES = ["image/gif", "image/jpeg", "image/png"]
 
 _LOGGER = logging.getLogger(__name__)
 
string _RESOURCE = "https://www.pushsafer.com/api"
 
string ATTR_ANSWER = "answer"
 
string ATTR_ANSWERFORCE = "answerforce"
 
string ATTR_ANSWEROPTIONS = "answeroptions"
 
string ATTR_CONFIRM = "confirm"
 
string ATTR_EXPIRE = "expire"
 
string ATTR_ICONCOLOR = "iconcolor"
 
string ATTR_PICTURE1 = "picture1"
 
string ATTR_PICTURE1_AUTH = "auth"
 
string ATTR_PICTURE1_PASSWORD = "password"
 
string ATTR_PICTURE1_PATH = "path"
 
string ATTR_PICTURE1_URL = "url"
 
string ATTR_PICTURE1_USERNAME = "username"
 
string ATTR_PRIORITY = "priority"
 
string ATTR_RETRY = "retry"
 
string ATTR_SOUND = "sound"
 
string ATTR_TIME2LIVE = "time2live"
 
string ATTR_URL = "url"
 
string ATTR_URLTITLE = "urltitle"
 
string ATTR_VIBRATION = "vibration"
 
string CONF_DEVICE_KEY = "private_key"
 
int CONF_TIMEOUT = 15
 
 PLATFORM_SCHEMA
 

Detailed Description

Pushsafer platform for notify component.

Function Documentation

◆ get_service()

PushsaferNotificationService homeassistant.components.pushsafer.notify.get_service ( HomeAssistant  hass,
ConfigType  config,
DiscoveryInfoType | None   discovery_info = None 
)
Get the Pushsafer.com notification service.

Definition at line 62 of file notify.py.

Variable Documentation

◆ _ALLOWED_IMAGES

list homeassistant.components.pushsafer.notify._ALLOWED_IMAGES = ["image/gif", "image/jpeg", "image/png"]
private

Definition at line 29 of file notify.py.

◆ _LOGGER

homeassistant.components.pushsafer.notify._LOGGER = logging.getLogger(__name__)
private

Definition at line 27 of file notify.py.

◆ _RESOURCE

string homeassistant.components.pushsafer.notify._RESOURCE = "https://www.pushsafer.com/api"
private

Definition at line 28 of file notify.py.

◆ ATTR_ANSWER

string homeassistant.components.pushsafer.notify.ATTR_ANSWER = "answer"

Definition at line 45 of file notify.py.

◆ ATTR_ANSWERFORCE

string homeassistant.components.pushsafer.notify.ATTR_ANSWERFORCE = "answerforce"

Definition at line 47 of file notify.py.

◆ ATTR_ANSWEROPTIONS

string homeassistant.components.pushsafer.notify.ATTR_ANSWEROPTIONS = "answeroptions"

Definition at line 46 of file notify.py.

◆ ATTR_CONFIRM

string homeassistant.components.pushsafer.notify.ATTR_CONFIRM = "confirm"

Definition at line 44 of file notify.py.

◆ ATTR_EXPIRE

string homeassistant.components.pushsafer.notify.ATTR_EXPIRE = "expire"

Definition at line 43 of file notify.py.

◆ ATTR_ICONCOLOR

string homeassistant.components.pushsafer.notify.ATTR_ICONCOLOR = "iconcolor"

Definition at line 37 of file notify.py.

◆ ATTR_PICTURE1

string homeassistant.components.pushsafer.notify.ATTR_PICTURE1 = "picture1"

Definition at line 48 of file notify.py.

◆ ATTR_PICTURE1_AUTH

string homeassistant.components.pushsafer.notify.ATTR_PICTURE1_AUTH = "auth"

Definition at line 55 of file notify.py.

◆ ATTR_PICTURE1_PASSWORD

string homeassistant.components.pushsafer.notify.ATTR_PICTURE1_PASSWORD = "password"

Definition at line 54 of file notify.py.

◆ ATTR_PICTURE1_PATH

string homeassistant.components.pushsafer.notify.ATTR_PICTURE1_PATH = "path"

Definition at line 52 of file notify.py.

◆ ATTR_PICTURE1_URL

string homeassistant.components.pushsafer.notify.ATTR_PICTURE1_URL = "url"

Definition at line 51 of file notify.py.

◆ ATTR_PICTURE1_USERNAME

string homeassistant.components.pushsafer.notify.ATTR_PICTURE1_USERNAME = "username"

Definition at line 53 of file notify.py.

◆ ATTR_PRIORITY

string homeassistant.components.pushsafer.notify.ATTR_PRIORITY = "priority"

Definition at line 41 of file notify.py.

◆ ATTR_RETRY

string homeassistant.components.pushsafer.notify.ATTR_RETRY = "retry"

Definition at line 42 of file notify.py.

◆ ATTR_SOUND

string homeassistant.components.pushsafer.notify.ATTR_SOUND = "sound"

Definition at line 35 of file notify.py.

◆ ATTR_TIME2LIVE

string homeassistant.components.pushsafer.notify.ATTR_TIME2LIVE = "time2live"

Definition at line 40 of file notify.py.

◆ ATTR_URL

string homeassistant.components.pushsafer.notify.ATTR_URL = "url"

Definition at line 38 of file notify.py.

◆ ATTR_URLTITLE

string homeassistant.components.pushsafer.notify.ATTR_URLTITLE = "urltitle"

Definition at line 39 of file notify.py.

◆ ATTR_VIBRATION

string homeassistant.components.pushsafer.notify.ATTR_VIBRATION = "vibration"

Definition at line 36 of file notify.py.

◆ CONF_DEVICE_KEY

string homeassistant.components.pushsafer.notify.CONF_DEVICE_KEY = "private_key"

Definition at line 31 of file notify.py.

◆ CONF_TIMEOUT

int homeassistant.components.pushsafer.notify.CONF_TIMEOUT = 15

Definition at line 32 of file notify.py.

◆ PLATFORM_SCHEMA

homeassistant.components.pushsafer.notify.PLATFORM_SCHEMA
Initial value:
1 = NOTIFY_PLATFORM_SCHEMA.extend(
2  {vol.Required(CONF_DEVICE_KEY): cv.string}
3 )

Definition at line 57 of file notify.py.