From what you have posted… there a couple problems
brightness is not a valid key for a scene.turn_on service call. You can only use transition which will alter how long it takes for the light to change from it’s current state to the scene-defined state.
Your parallel and repeat actions are not currently doing anything.
When set up as two separate conditions, midnight acts as a threshold for each. So the combined logic becomes something like “Is the current time both between 00:00-05:00 AND between 19:00-00:00?”… This will always be false.
Instead, consolidate the Time conditions.
condition:
- condition: time
after: “19:00:00”
before: “05:00:00”
action:
You could alternatively use an Or condition:
condition:
- or:
- condition: time
after: “19:00:00”
- condition: time
before: “05:00:00”
action: