I’m trying to do this by creating a group but my config check says - Invalid config for [group]: [services] is an invalid option for [group]. Check: group->group->notify_family->services.
In my groups.yaml I have:
- alias: Shed Door Has Been Unlocked By Jeff
initial_state: true
trigger:
platform: state
entity_id: sensor.kwikset_touchpad_electronic_deadbolt_status
to: Unlocked with Keypad by user 1
action:
- service: notify.all_ios_devices
data:
message: "Jeff Unlocked The Shed Door"
data:
push:
sound: default
If I use notify.mobile_app_jeff_iphone and/or notify.mobile_app_lygea_s_iphone the notification works fine but using notify.all_ios_devices produces no notification to either device.
My guess is I have the service incorrect? I tried removing the ios in the notify service but got the same result.
I’m using v1.5 of the iOS Companion app with HA 0.98. I’ve created a notify group and send a test message using the services tool in the dev section. The notification went to both iOS devices.
The only difference is I dropped the second data field.
As suggested, if sending a notification to notify.mobile_app_jeff_iphone works, you should probably modify the notify group so that it looks like @tom_l’s suggestion:
If that doesn’t work, I would simplify the automation and only include the message field for the notification:
- alias: Shed Door Has Been Unlocked By Jeff
initial_state: true
trigger:
platform: state
entity_id: sensor.kwikset_touchpad_electronic_deadbolt_status
to: Unlocked with Keypad by user 1
action:
- service: notify.all_ios_devices
data:
message: "Jeff Unlocked The Shed Door"
Hi,
I did it exactly the same way with notification.yaml
- platform: group
name: Известие до родители
services:
- service: notify_mobile_app_tosho_a71
- service: notify_mobile_app_vessy_s7
and configuration check is okay. But when I try to send message it nothing happen.
When I use notification to each phone separate , it is work.
Can you advise me ?
Why i have to use _ instead .
when I put in my notification.yaml
service: notify.mobile_app_tosho_a71
it give me error, to change to notify_mobile_app_tosho_a71