Hey everyone, I wanted to share my recent experience integrating an Aqara door sensor into my Home Assistant setup. It was a bit of a journey, but I managed to get everything working smoothly in the end. I hope my experience can help someone else who might be going through a similar process. So, I started by adding my Aqara door sensor through ZHA, expecting it to show up as a sensor. However, it appeared as an EndDevice instead. This was a bit confusing at first, but after doing some research and checking the device information, I realized that the sensor wasn’t reporting its status correctly. The binary sensor for the door state was always ‘off,’ and the power sensor showed ‘unknown.’ This wasn’t what I expected, as I knew the sensor should provide battery level and open/closed status updates. I decided to troubleshoot by checking the device logs and configuration. It turned out that the sensor wasn’t being recognized properly because of a configuration issue on my end. After some tweaking and re-adding the sensor, it finally started reporting correctly. The satisfaction of seeing the sensor data update in real-time was worth all the effort! Another challenge I faced was converting sensor data from minutes to hours and minutes for display purposes. I had a sensor that reported the remaining time in minutes, but I wanted to present it in a more user-friendly format like ‘01:30’ for 90 minutes. I managed to achieve this by using an automation that converts the minutes into hours and minutes. It was a bit tricky, but with some help from the community and a bit of trial and error, I got it working. For anyone else dealing with similar issues, I’d recommend checking your device configurations, reviewing the logs for any errors, and reaching out to the community for support. Sometimes, a fresh pair of eyes can spot something you’ve missed. Overall, integrating the Aqara door sensor and solving the time conversion issue were great learning experiences. It reinforced the importance of thorough troubleshooting and the value of community support in the smart home ecosystem. I’m now more confident in tackling other integration projects in the future. Happy automating everyone! ![]()