Binary Sensor if any sensors in a group go Unavailable or Unknown

template:
  - binary_sensor:
      - name: Boiler Faults
        state: >
          {{ expand('group.chhw_sensors') | selectattr('state', 'in', ['unavailable', 'unknown', 'none']) | list | count  > 0 }}

To be verified: does a group’s state value change to unavailable if the state value of one of its members changes to unavailable?

Answer: No.

According to the documentation, all members of the group must be unavailable for the group’s state to become unavailable.

The group state is unavailable if all group members are unavailable.

3 Likes