ronzo
May 16, 2024, 7:39pm
1
Let’s say I have multiple binary_sensor entities (ping sensors) like
binary_sensor.www_google_com
binary_sensor.8_8_8_8
binary_sensor.www_whatever_com
How would I possibly logically combine these into one sensor entity?
(if sensor a AND sensor b AND sensor c all evaluate to true, set an overall sensor entity to true)
create a helper sensor… easy to do it in the ui like this:
1 Like
Since they are all binary sensors, another option is using a Group Helper with the “All Entities” toggle on.
HA Docs: Group
1 Like
ah, yes… a group sensor is even more straightforward if you know you want to just ‘and’ them only and always. thanks @Didgeridrew …
the template approach gives you more flexibility to do other combinations, pull attributes and be heterogenous… but group is simple!