Combined magnet sensors shows "off" instead of open/closed

I successfully combined two magnet sensors into one entity, however the standalone sensor shows open/closed, but the combined sensors shows off/on… Any way to solve this?

garage_oster_dorrar:
  name: Garage öster dörrar
  icon: mdi:door
  entities:
    - binary_sensor.garage_oster_dorr_1
    - binary_sensor.garage_oster_dorr_2

Skärmbild 2021-10-06 182838

That’s currently not possible with a group, see the feature request here → Group State Display - device-class

As a workaround you could create a template binary sensor with the desired behaviour and set the devuce class for this sensor.

1 Like