Lights on according my agenda

it is possible to turn on the lights in the morning according to your agenda and that it is dark outside.

what do you mean agenda?

i have in home assistant our familie agenda.
So when i go to work now ad 6.00 am it’s dark in house and i want that the lighting at the dining room table to be on.


Read this thread for setting times for entities to act through the standard frontend.
I realise that English is not your first language but did you try to search the forum before you posted?

Although you actually mean to interpret a calendar before setting an alarm? - I can’t help with that.


Setting up an automation from a calendar is documented, so is setting a condition that the sun is below the horizon.