Change device_class of a Xiaomi open close sensor

Hi mates,

I have some Xiaomi Aqara open/close sensors, now everything is working fine but is it possible to change the device_class of the sensor (it’s now device_class opening)?

EDIT: Solved, it was too easy -> customize!