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

Classes

class  LannouncerNotificationService
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_METHOD = "method"
 
list ATTR_METHOD_ALLOWED = ["speak", "alarm"]
 
string ATTR_METHOD_DEFAULT = "speak"
 
int DEFAULT_PORT = 1035
 
 PLATFORM_SCHEMA
 

Detailed Description

Lannouncer platform for notify component.

Function Documentation

◆ get_service()

LannouncerNotificationService homeassistant.components.lannouncer.notify.get_service ( HomeAssistant  hass,
ConfigType  config,
DiscoveryInfoType | None   discovery_info = None 
)
Get the Lannouncer notification service.

Definition at line 37 of file notify.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 34 of file notify.py.

◆ ATTR_METHOD

string homeassistant.components.lannouncer.notify.ATTR_METHOD = "method"

Definition at line 21 of file notify.py.

◆ ATTR_METHOD_ALLOWED

list homeassistant.components.lannouncer.notify.ATTR_METHOD_ALLOWED = ["speak", "alarm"]

Definition at line 23 of file notify.py.

◆ ATTR_METHOD_DEFAULT

string homeassistant.components.lannouncer.notify.ATTR_METHOD_DEFAULT = "speak"

Definition at line 22 of file notify.py.

◆ DEFAULT_PORT

int homeassistant.components.lannouncer.notify.DEFAULT_PORT = 1035

Definition at line 25 of file notify.py.

◆ PLATFORM_SCHEMA

homeassistant.components.lannouncer.notify.PLATFORM_SCHEMA
Initial value:
1 = NOTIFY_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_HOST): cv.string,
4  vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,
5  }
6 )

Definition at line 27 of file notify.py.