From 9836372cb1f9c3100202976003b7b1f947b56a28 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 10 Jan 2022 13:33:26 +0100 Subject: [PATCH] Clarify how to update state of group members (#21130) Co-authored-by: Franck Nijhof --- source/_integrations/group.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_integrations/group.markdown b/source/_integrations/group.markdown index 32fb1b35f4c..45f8f97e1ff 100644 --- a/source/_integrations/group.markdown +++ b/source/_integrations/group.markdown @@ -65,6 +65,10 @@ icon: By default when any member of a group is `on` then the group will also be `on`. Similarly with a device tracker, when any member of the group is `home` then the group is `home`. If you set the `all` option to `true` though, this behavior is inverted and all members of the group have to be `on` for the group to turn on as well. +## Group state update + +The group's state is updated when any group member's state is updated. Calling `homeassistant.update_entity` with the target set to the group will not be forwarded to the group members, instead the `expand()` template function can be used to force all group members to update state. + ## Group state calculation The system can calculate group state with entities from the following domains: