HomeKit door status

Is it possible to add the status of the door (if open or closed) to the HomeKit when you have the door sensor? This would allow some kind of automations inside HomeKit. Thank you.