Generic INA219 based UPS HAT integration

This integration allows you to monitor any INA219 based UPS hat (e.g. Waveshare UPS Hat or its clones) status in your Home Assistant instance.

Based on work of @mykhailog. The author of the original integration seems to have abandoned the project, so I forked it.

  • Refactored the integration. Now it automatically creates all the sensors; there’s no need to create templates from attributes.
  • Reworked the “remaining time” calculation - originally, it constantly returned ~24 minutes.
  • Added smoothing of data using SMA (Simple Moving Average).
  • Added automation examples to the repository.
2 Likes