Combining Sunset/Sunrise logic with fixed time (00:00) – not possible?

Hi all,

I’m trying to make motion-based lighting behave naturally throughout the day, evening, and night but I’ve run into a structural limitation in Hue Essentials.

Goal
Lights should always turn on when motion is detected, but revert differently depending on the time of day:
Day (Sunrise → Sunset): turn off completely after motion.
Evening (Sunset → 00:00): return to the “Evening Atmosphere White” scene for ambient lighting.
Night (00:00 → Sunrise): turn off completely again for darkness.

Timer automation (independent of motion sensor)
:crescent_moon: SunsetActivate scene “Evening Atmosphere White” → :twelve_o_clock: 00:00Turn OFF all lights

This part works fine on its own as a simple time-based rule.

Motion sensor setup

:one: Day (Sunrise → Sunset)
• Scene on motion: Motion Day
• After 3 min no motion: All lights OFF

:two: Evening (Sunset → 00:00)
• Scene on motion: Motion Evening
• After 3 min no motion: Return to scene “Evening Atmosphere White”

:three: Night (00:00 → Sunrise)
• Scene on motion: Motion Evening (same scene as evening)
• After 3 min no motion: All lights OFF

Core issue
Hue Essentials can’t currently combine dynamic (Sunrise/Sunset) triggers with a fixed time condition (00:00) within the same rule.
That makes it impossible to separate “evening before midnight” from “night after midnight.”
Such a mix would allow adaptive lighting that follows seasonal daylight but still resets reliably at midnight.

Why “return to previous light state” fails
A common workaround — returning to the previous light state — breaks around midnight.
If motion occurs at 23:58, the Evening Atmosphere White scene is stored as the current state.
At 00:00, the timer turns off all lights, but three minutes later the sensor restores that stored scene — keeping it on all night long.
This shows why true time-based conditions are needed, not state recovery.

Why this matters
With hybrid timing, lighting would stay context-aware and predictable: always responsive to motion, yet correctly reverting to the right state for that period.

Question
Has anyone found a workaround using Hue Essentials or native Hue Bridge rules?
Or is Home Assistant / iConnectHue the only way to achieve such hybrid logic?

Thanks and interested to hear how others approach this setup.

(Feature request: Allow mixed Sunrise/Sunset and fixed-time conditions in a single rule.)

Regards,
Tom