Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.matrix.notify.MatrixNotificationService Class Reference
Inheritance diagram for homeassistant.components.matrix.notify.MatrixNotificationService:
[legend]
Collaboration diagram for homeassistant.components.matrix.notify.MatrixNotificationService:
[legend]

Public Member Functions

None __init__ (self, RoomID default_room)
 
None send_message (self, str message="", **Any kwargs)
 

Private Attributes

 _default_room
 

Detailed Description

Send notifications to a Matrix room.

Definition at line 39 of file notify.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.matrix.notify.MatrixNotificationService.__init__ (   self,
RoomID  default_room 
)
Set up the Matrix notification service.

Definition at line 42 of file notify.py.

Member Function Documentation

◆ send_message()

None homeassistant.components.matrix.notify.MatrixNotificationService.send_message (   self,
str   message = "",
**Any  kwargs 
)
Send the message to the Matrix server.

Definition at line 46 of file notify.py.

Member Data Documentation

◆ _default_room

homeassistant.components.matrix.notify.MatrixNotificationService._default_room
private

Definition at line 44 of file notify.py.


The documentation for this class was generated from the following file: