So I’m trying to setup notification groups and of course followed the what’s written here:
But I can’t get it working.
I also stumbled upon this config:
https://github.com/Instagraeme/Home-Assistant-Configuration/blob/master/includes/notify.yaml
But if I try to mimic that it’s not working for me either.
This is what I put in the notify config:
- name: TwitterNotify
platform: twitter
consumer_key: **
consumer_secret:*
access_token: *
access_token_secret: *
username: "@*"
- name: TwitterNotifySas
platform: twitter
consumer_key: *
consumer_secret: *
access_token: *
access_token_secret: *
username: "@*"
- platform: group
name: LenS
services:
- service: TwitterNotifySas
- service: TwitterNotify
But when I restart HASS I get this error in the log:
2017-06-11 12:16:10 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=1978208880-1, service_data=notification_id=invalid_config, title=Invalid config, message=The following components and platforms could not be set up:
* [notify.group](https://home-assistant.io/components/notify.group/)
Please check your config, service=create, domain=persistent_notification>
So then I changed the config to this:
- platform: group
name: LenS
services:
- service: twitter
data:
target: "TwitterNotify"
- service: twitter
data:
target: "TwitterNotifySas"
then HASS starts OK, but when this automation triggers:
action:
- service_template: >
{% if (is_state('group.Tracker_Lukas', 'home')) and (is_state('group.Tracker_S', 'home')) %}
notify.LukasenSascha
{% elif is_state('group.Tracker_Lukas', 'home') %}
notify.TwitterNotify
{% elif is_state('group.Tracker_Lukas', 'not home') %}
notify.TwitterNotify
{% elif is_state('group.Tracker_S', 'home') %}
notify.TwitterNotifySas
{% endif %}
data:
message: 'Wasmachine is klaar.'
I get an error. I don’t have the log anymore because I already restarted HASS but it was something like notify/twitter can’t be found.
Can anyone tell me how to get notify.group working correctly?