Printhead LEDs turn off at 2nd Layer

Hi,
i have a very strange problem with my LEDs in my printhead.
They work absolutly fine. When I start my print the logo turn red and the two LED’s to the bed turn white. They turn all green after the print is finished.
Strange thing now: when the print starts everything is fine. After turning to layer 2 the logo led is still on but the two LEDs to the bed turn off. After the print they turn all green as the should.

Here is my startcode and endcode:
[gcode_macro PRINT_START]
gcode:
SET_LED LED=hotend_rgb RED=1 GREEN=0 BLUE=0 WHITE=0 INDEX=1 TRANSMIT=1
SET_LED LED=hotend_rgb RED=0 GREEN=0 BLUE=0 WHITE=1 INDEX=2 TRANSMIT=1
SET_LED LED=hotend_rgb RED=0 GREEN=0 BLUE=0 WHITE=1 INDEX=3 TRANSMIT=1
{% set BED_TEMP = params.BED|default(60)|float %}
{% set EXTRUDER_TEMP = params.EXTRUDER|default(190)|float %}
M190 S{BED_TEMP}

Use absolut coordinates

G90

Home the printer

G28
Z_TILT_ADJUST

Reset extruder

G92 E0

BED_MESH_CALIBRATE PROFILE=mesh1 VARIABLE=probing
BED_MESH_PROFILE LOAD=mesh1

Move to wait position

G1 X0 Y0 Z10 F4000.0

Set and wait for nozzle to reach temperature

M109 S{EXTRUDER_TEMP}

Move Z axis up

G1 Z2.0 F3000

Move to start position

G1 X0.1 Y20 Z0.3 F5000.0

Draw the first line

G1 X0.1 Y200.0 Z0.28 F1500.0 E15

Move to the side

G1 X0.4 Y200.0 Z0.28 F5000.0

Draw the second line

G1 X0.4 Y20 Z0.28 F1500.0 E30

Reset extruder

G92 E0

[gcode_macro PRINT_END]
gcode:
G1 X0 Y0 F4000.0
G1 Z190 F2000.0
M104 S0 ; Extruder aus
M140 S0 ; Heizbett aus
SET_LED LED=hotend_rgb RED=0 GREEN=1 BLUE=0 WHITE=0 INDEX=1 TRANSMIT=1
SET_LED LED=hotend_rgb RED=0 GREEN=1 BLUE=0 WHITE=0 INDEX=2 TRANSMIT=1
SET_LED LED=hotend_rgb RED=0 GREEN=1 BLUE=0 WHITE=0 INDEX=3 TRANSMIT=1

I even tried a macro on layerchange to turn them on again.
[gcode_macro NEW_LAYER_START]
gcode:
SET_LED LED=hotend_rgb RED=1 GREEN=0 BLUE=0 WHITE=0 INDEX=1 TRANSMIT=1
SET_LED LED=hotend_rgb RED=0 GREEN=0 BLUE=0 WHITE=1 INDEX=2 TRANSMIT=1
SET_LED LED=hotend_rgb RED=0 GREEN=0 BLUE=0 WHITE=1 INDEX=3 TRANSMIT=1

No chance

I use orca slicer and checked the gcode, too. There is nothing that would set the LED to of.

any idea?

Thank you

Instead of copy & paste some excerpts from the printer.cfg please attach the klippy.log to your next post. It was requested in the template you have deleted.

I am sorry. I thought I attached it. Here is it now.

klippy (3).log (5.4 MB)