i have a group of window sensors.
For example: all windows are opened - group has state - ON.
Now one window has closed, group stayes - ON, but one sensor of group has updated to OFF.
How can i get this update using group (please do not adwise me to list all the sensors in events:state node) - it does not matter to me which sensor, i need only to know, that it was update.
I know it, thanks, i would do exacly this, but only when the sensor get trigged. As is understand with get entities i can not know if it was trigged or not - that is the main problem.
In this case, maybe you can first listen to Event: all with the filter on state_changed and then filter for binary sensors and trigger the get_entities
Ohhh, great Idea! Have top Hey try this.
I thought about it yesterday, but i did not found information about available events in HA. Maybe you know where could i ger more info about it?
I found docs on events https://www.home-assistant.io/docs/configuration/events/
But it do not help, as i understand, because it is the same as if i set trigger on every sensor (and the load will be less, that monitoring all the state changes). But i wanted to use groups for it, not every sensor.
Are you concerned about it using too many resources?
From my observations, these calls and event listeners barely add any overhead.
So I’d just go with what works.
The groups itself you cannot use, as the groups do not report the state changes of the individual entity to NodeRed.