Connection from Home Assistant to ESP home lost after roughly 30 minutes

While i was controling my setup with the ESP Home and Home Assistant, after a while (30 Minutes roughly) the Home Assistant lost connection to the ESP Home. Is there a default time, after which the connection automatically resets or something? Can I look this up / change somewhere?

Thanks in advance.