An overnight period can follow the sun rather than a fixed clock time. Home Assistant’s Times of the Day helper lets its boundaries use sun positions and optional offsets directly in the configuration interface.
This brings the interface in line with options already available through YAML configuration. Existing time-based helpers are migrated to the explicit time-or-sun settings.