Notify Group
The group
notification platform allows you to combine multiple notify
platforms into a single service.
Configuration
# Example configuration.yaml entry
notify:
- name: NAME_OF_NOTIFIER_GROUP
platform: group
services:
- service: html5
data:
target: "macbook"
- service: html5_nexus
Configuration Variables
A list of all the services to be included in the group.
The service part of an entity ID, e.g., if you use notify.html5
normally, just put html5
. Note that you must put everything in lower case here. Although you might have capitals written in the actual notification services!
Example
An example on how to use it in an automation:
action:
service: notify.NAME_OF_NOTIFIER_GROUP
data:
message: "The sun is {% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}!"