Conditional Automations

Just putting this here in case a dev sees it, or if anyone has any suggestions.

I wish I could set conditions on my automations: IF this light is on, set brightness to X.

I have automations which dim most of my lights as it gets later in the evening, but annoyingly if I turn the light off, when it comes time to dim them, it turns them back on to do it.

I also have some which turn my hall lights on to a dim light when I open my front door, so that if I get home late, I can see but am not blinded. That’s great unless I already have the lights on, if I open the door it dims them when I want them on full.

There are third party apps that let me do it, but it really should be included natively , especially for integrations with other products.