Config/Automation

I think it should be possible to config the homeassistant green/yellow via automation to turn on / off the leds of the device for example depending on the current time

I would guess that is because they already have specific hardware functions…
Home Assistant Yellow LEDs – Home Assistant Yellow.
Home Assistant Green LEDs – Home Assistant Green.