Implement the notification service for Microsoft Teams.
Definition at line 45 of file notify.py.
◆ __init__()
| def homeassistant.components.msteams.notify.MSTeamsNotificationService.__init__ |
( |
|
self, |
|
|
|
webhook_url |
|
) |
| |
Initialize the service.
Definition at line 48 of file notify.py.
◆ 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.
◆ _webhook_url
| homeassistant.components.msteams.notify.MSTeamsNotificationService._webhook_url |
|
private |
The documentation for this class was generated from the following file:
- core/homeassistant/components/msteams/notify.py