Open/Close Sensor reporting on/off

Hassio
RP3 b+
.90 HA version

Good afternoon, I searched the forums but haven’t come across this problem or a solution for it. Since upgrading to .90 my zigbee ZHA devices mostly report as an on/off instead of open/close. The strange thing is, some still report as open/close. I didn’t change anything in my config. It started after my upgrade and reboot. Let me know if anyone else has seen this or has the same problem.

Sorry… Should have added that my open/close Sensors are Visonic MCT-310 zigbee.

I don’t know Visonic sensors, but it they simply report as binary_sensors, you can add this to your customize section:

binary_sensor.sensor_name:
  device_class: window

If you want a different device class, this this link: