Since the Group documentation recommends using the new group method instead of the old group method I tried to convert all my groups to the new method. I use the yaml method of creating groups instead of the UI. All the groups I moved from the old to new method worked well other than my Ring Keypad group. The following are my old and new Ring Keypad group definitions:
Old configuration in groups.yaml file:
ring_keypads:
name: Ring Keypads
icon: mdi:dialpad
entities:
- binary_sensor.ring_keypad_bedroom_hallway_ac_mains_re_connected
- binary_sensor.ring_keypad_craft_room_ac_mains_re_connected
- binary_sensor.ring_keypad_kitchen_ac_mains_re_connected
New configuration in groups_binary_sensor.yaml which I include from configuration.yaml using:
binary_sensor: !include groups_binary_sensor.yaml
- platform: group
name: Ring Keypads
device_class: connectivity
entities:
- binary_sensor.ring_keypad_bedroom_hallway_ac_mains_re_connected
- binary_sensor.ring_keypad_craft_room_ac_mains_re_connected
- binary_sensor.ring_keypad_kitchen_ac_mains_re_connected
The entities are identical in both configurations but when I try to send something to the keypads using the new group configuration I get the error:
2025-04-22 13:52:22.651 WARNING (MainThread) [homeassistant.components.zwave_js.services] Entity binary_sensor.ring_keypads is not a valid zwave_js entity
2025-04-22 13:52:22.651 ERROR (MainThread) [homeassistant.components.automation.intrusion_nuisance_siren_timeout] Intrusion: Disarm response: Error executing script. Invalid data for call_service at pos 3: No zwave_js nodes found for given targets
2025-04-22 13:52:22.652 ERROR (MainThread) [homeassistant.components.automation.intrusion_nuisance_siren_timeout] Error while executing automation automation.intrusion_nuisance_siren_timeout: No zwave_js nodes found for given targets
So per the error HA is trying to send to the actual group name of binary_sensor.ring_keypads instead of sending it to the entities like when I use the old group method group.ring_keypads. The calling code is:
So the above code causes the error and the keypads arenât sent the data. But the identical code has been sending the code to each keypad when I use: group.ring_keypads instead of binary_sensor.ring_keypads for the entity_id.
As an FYI, when I query the status of the keypads using the new group definition it does know when the keypad entities go off/on. The problem is trying to send a code to the keypads.
Any ideas on why the new method doesnât send the code to the group entities like the old method?
The Z-Wave integration actions expand group entities for you as a convenience, but it doesnât know your binary_sensor is a group. You can try and see if the expand() template helper works with the new groups.
Thank you for the response. When I tried â{{ expand(âbinary_sensor.ring_keypadsâ)â I got the errors:
2025-04-22 15:08:36.486 ERROR (MainThread) [homeassistant.components.automation.intrusion_pre_trigger_warning_4] Stop audible notification and tell Ring Keypads that the system is Armed Home: Error executing script. Error for call_service at pos 1: Template rendered invalid entity IDs: [<template TemplateState(<state binary_sensor.ring_keypad_kitchen_ac_mains_re_connected=on; device_class=plug, friendly_name=Ring Keypad Kitchen AC mains re-connected @ 2025-04-22T13:27:04.966072-04:00>)>, <template TemplateState(<state binary_sensor.ring_keypad_craft_room_ac_mains_re_connected=on; device_class=plug, friendly_name=Ring Keypad Craft Room AC mains re-connected @ 2025-04-22T13:27:04.791849-04:00>)>, <template TemplateState(<state binary_sensor.ring_keypad_bedroom_hallway_ac_mains_re_connected=on; device_class=plug, friendly_name=Ring Keypad Bedroom Hallway AC mains re-connected @ 2025-04-22T14:37:57.220325-04:00>)>]
2025-04-22 15:08:36.487 ERROR (MainThread) [homeassistant.components.automation.intrusion_pre_trigger_warning_4] Error while executing automation automation.intrusion_pre_trigger_warning_4: Template rendered invalid entity IDs: [<template TemplateState(<state binary_sensor.ring_keypad_kitchen_ac_mains_re_connected=on; device_class=plug, friendly_name=Ring Keypad Kitchen AC mains re-connected @ 2025-04-22T13:27:04.966072-04:00>)>, <template TemplateState(<state binary_sensor.ring_keypad_craft_room_ac_mains_re_connected=on; device_class=plug, friendly_name=Ring Keypad Craft Room AC mains re-connected @ 2025-04-22T13:27:04.791849-04:00>)>, <template TemplateState(<state binary_sensor.ring_keypad_bedroom_hallway_ac_mains_re_connected=on; device_class=plug, friendly_name=Ring Keypad Bedroom Hallway AC mains re-connected @ 2025-04-22T14:37:57.220325-04:00>)>]
So it did expand them but didnât like it. Although, maybe I did the expand incorrectly. It did like @petro idea and Iâll reply to their post below and Iâll use that method unless there is a reason I shouldnât use it.
Thank you for the reply. Your method worked perfectly and thanks for the info about old school functionality. Iâll mark your reply as my solution.
Thank you again!