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

Public Member Functions

def __init__ (self, webhook_url)
 
def send_message (self, message=None, **kwargs)
 

Private Attributes

 _webhook_url
 

Detailed Description

Implement the notification service for Microsoft Teams.

Definition at line 45 of file notify.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.msteams.notify.MSTeamsNotificationService.__init__ (   self,
  webhook_url 
)
Initialize the service.

Definition at line 48 of file notify.py.

Member Function Documentation

◆ send_message()

def homeassistant.components.msteams.notify.MSTeamsNotificationService.send_message (   self,
  message = None,
**  kwargs 
)
Send a message to the webhook.

Definition at line 52 of file notify.py.

Member Data Documentation

◆ _webhook_url

homeassistant.components.msteams.notify.MSTeamsNotificationService._webhook_url
private

Definition at line 50 of file notify.py.


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