From 80d285e364e9cc74613a10e9d8e30fc337d77628 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Wed, 24 Apr 2024 15:14:41 +0200 Subject: [PATCH] Document group state changes when in cases with one specific state (#32443) * Document group state changes when in cases with one specific state * Tweak Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> * Tweak Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/group.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_integrations/group.markdown b/source/_integrations/group.markdown index 2ae28d74fd7..bea696ed5a6 100644 --- a/source/_integrations/group.markdown +++ b/source/_integrations/group.markdown @@ -405,7 +405,11 @@ When member entities all have a single `on` and `off` state, the group state wil | person | home | not_home | | media_player | ok | problem | -When a group contains entities from domains that have multiple `on` states or only use `on` and `off`, the group state will be `on` or `off`. +When a group contains entities from domains that have multiple `on` states, the **group** state will be `on` or `off` if one of the following is true: +- More than one of these `on` states are actively used. +- The entities only use `on` and `off`. + +If for example a group has multiple `vacuum` entities, that are all `cleaning`, the group state `on` state will be `cleaning`, or if multiple `lock` entities are `unlocked`, the group `on` state will be `unlocked`. It is possible to create a group that the system cannot calculate a group state. Groups with entities from unsupported domains will always have an unknown state.