Using time control might not be as reliable as you’d hope. For most of us, our clocks change twice a year. I don’t think Omlet got their implementation quite right, and I suspect the daylight savings time (DST) transition will cause your door to open or close an hour earlier or later than you and your chickens expect.
Your Omlet account settings capture your timezone, and this is used to ensure the correct time is set on the autodoor. However, the open/close times are captured—and, I believe, stored—as local times. This means your autodoor’s clock will be correct, and the 19:00 close time you programmed will remain 19:00 even when the clocks go forward. Unfortunately, nobody told the birds, so they’ll be shut out an hour earlier than expected. While this might work for an alarm clock, it’s less ideal for animals that can’t read the kitchen clock.
I tested this theory by changing my timezone by +1 hour. The clock on the door advanced by an hour, but the open/close times remained unchanged, causing my door to operate an hour early. This suggests the open/close times are not timezone-aware. Ideally, they should be stored in UTC or as local time plus an offset, and then displayed in local time.
This creates other oddities. For example, if your Home Assistant (HA) instance is in a different timezone than your door, the “Next Update” sensors will show times that are hours off. To be honest, this is something the integration could handle better, but it would require making the integration timezone-aware.
That said, I do use time-based control for the door, and I have it adjusting daily based on dawn and sunset. I found light levels too unreliable. However, if you plan to programmatically adjust your open/close times, you need to account for DST to avoid unwanted surprises. Also, be cautious about setting a time that has already passed. For example, if your door is due to open in 1 minute and you decide to bring the open time forward by 2 minutes to align with earlier sunrises (inadvertently setting it to a time in the past), your door won’t open until the following day.
As for adding support to the HA-Omlet integration to trigger open/close actions based on the sun… I personally feel this is beyond the scope of the integration. Home Assistant has all the necessary information to allow your to automate it, and I think this logic belongs in an automation.