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

Classes

class  RocketChatNotificationService
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 PLATFORM_SCHEMA
 

Detailed Description

Rocket.Chat notification service.

Function Documentation

◆ get_service()

RocketChatNotificationService | None homeassistant.components.rocketchat.notify.get_service ( HomeAssistant  hass,
ConfigType  config,
DiscoveryInfoType | None   discovery_info = None 
)
Return the notify service.

Definition at line 37 of file notify.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 25 of file notify.py.

◆ PLATFORM_SCHEMA

homeassistant.components.rocketchat.notify.PLATFORM_SCHEMA
Initial value:
1 = NOTIFY_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_URL): vol.Url(),
4  vol.Required(CONF_USERNAME): cv.string,
5  vol.Required(CONF_PASSWORD): cv.string,
6  vol.Required(CONF_ROOM): cv.string,
7  }
8 )

Definition at line 27 of file notify.py.