mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-31 23:36:50 +00:00

* Sets front matter defaults * Removes default front matter from section templates/pages * Removes default front matter from addon pages * Removes default front matter from integration pages * Removes default front matter from posts * Removes default front matter from docs pages * Removes default front matter from other pages * Fixes blog category pages
1.3 KiB
1.3 KiB
title, description, logo, ha_category, ha_release, redirect_from
title | description | logo | ha_category | ha_release | redirect_from | ||
---|---|---|---|---|---|---|---|
Mastodon | Instructions on how to add Instapush notifications to Home Assistant. | mastodon.png |
|
0.67 |
|
The mastodon
platform uses Mastodon to deliver notifications from Home Assistant.
Setup
Go to Preferences in the Mastodon web interface, then to Development and create a new application.
Configuration
To add Mastodon to your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
notify:
- name: NOTIFIER_NAME
platform: mastodon
access_token: !secret mastodon_access_token
client_id: !secret mastodon_client_id
client_secret: !secret mastodon_client_secret
{% configuration %} access_token: description: Your Mastodon access token. required: true type: string client_id: description: Your Mastodon client ID required: true type: string client_secret: description: Your Mastodon client secret. required: true type: string base_url: description: URL of the Mastodon instance to use. required: false type: string default: https://mastodon.social {% endconfiguration %}
To use notifications, please see the getting started with automation page.