That’s because a sensor can have any value and the group doesn’t know which value means on and whuch means off. The true from your sensor could also mean that it’s off, the group doesn’t know that. One possibility would be to create a template binary sensor that shows on or off based on the state of the sensor.