I created small and simple widget for xiaomi(aquara) door window sensor. You can install it through “Widget Gallery” in habpanel. Good luck.
Widget designed for 1x1 habpanel dashboard grid
Note: Use 100% of browser zoom
Sources with description: https://github.com/andreypopov/habpanel-widget-xiaomi-sensor_magnet