Trigger calendar events with states from the sun integration

I currently have some automations in HA or in node red (opening/closing shutters or turning lights on/off), where the activation point is fixed values of entities (referring to schedules), attributes of the “sun” entity (events of the sun ), states of the bigtimer nodes (midnight, sunset, sunrise, dusk, etc).

The problem is that you have to enter the automation or node red to be able to change these actuation points.

Now I am changing all these action points to calendar events, which is much more comfortable since from lovelace itself you can interact more easily without having to enter the automations or node red.

What would be very useful is that when creating an event in the calendar, in addition to being able to choose the time at which it is activated, we also have the possibility of being able to choose to activate/deactivate it in one of the entity’s events “sun” (midnight, sunset, sunrise, sunrise, etc).

In a similar way to what we can do with the bigtimer node in node red, but this time from lovelace with the calendar events.

For example: that from a calendar event that my blinds can be activated to open at sunset, dusk, midnight, etc., instead of at a specific time.


An automation can be triggered by a Calendar Trigger or a Sun Trigger (or many other kinds of triggers) so there’s no need to add sun-related events to a Calendar.

Correct, but the way I propose it would not be necessary to enter the automation to be able to change the trigger, it could be done from the calendar simply, from lovelace.

As you can see in this photo of lovelace.
I am in control of the “inside light”. It activates at dusk (sun state) and deactivates at 03:00 (time helper).
I have implemented both the activation and the deactivation of the light in an automation.
From lovelace I can change the time at which the light is deactivated, but from lovelace I cannot change the moment (which in the end is a specific hour of the day that changes according to the time of the year) in which the light is activated.
With calendar events I see a great contribution, in the same way or similar to node red’s bigtimer node.