Optimizing ESP32 Performance with Home Assistant Sensors

Hi everyone, I’m working on a project where I need to integrate a large number of sensors into my Home Assistant setup. Currently, I have about 25 sensors running smoothly, but I plan to expand this to around 60 sensors. These sensors will be used to display a variety of information on a WaveShare e-paper screen, mostly weather data. I’ve created all the sensors as template sensors within Home Assistant and am using ESPHome to manage them.

My main concern is about optimizing performance for the ESP32. I’m wondering if it would be more efficient to stick with 60 individual sensors, each making a separate request, or if I should consolidate them into a single sensor that returns a JSON or list of values. The idea is to reduce the load on the ESP32 by minimizing the number of requests it has to handle, but I’m not sure if parsing JSON on the ESP32 would be more resource-intensive than handling 60 separate requests.

From what I understand, the ESP32 can handle multiple requests pretty well, but I want to make sure I’m not overcomplicating things. On the other hand, using a single JSON response might streamline the process and reduce overhead. I’d love to hear from anyone who has experience with either approach—has anyone found one method to be significantly better than the other in terms of performance and ease of use?

I’m also curious about how others have handled similar setups. Are there any best practices or tips for managing a large number of sensors efficiently? I’m open to any suggestions or insights that could help me make the most of my setup while keeping things running smoothly. Thanks in advance for your help!