I use esphome to run my remote gate and mailbox sensors. Very simple to implement deep sleep - which they spend most of their time in - using a simple yaml configuration file.
They only wake to send state changes and run off a single 18650 battery and a 5w solar cell.
Esphome integrates very easily with HA and has a wide range of sensors available. Highly recommended.