I don’t use scenes, myself (haven’t been in a position to find a use for one), but just perusing through your automation… First, you need to define the target and, also, is the name of the scene correct? The action block should look more like this -
EDIT - In retrospect, are you even using a scene? If your action is just to dim a light or light group and you’re not using a scene, then your action block should look more like this -
Not sure why all of those asterisks appear… but afaik, they shouldn’t be there. Unless it was a simple copy-pasta translation mistake when you used the preformatted text block. Whatever the case, let’s try this -
EDIT - so this automation works if the light.ihc_kontor_lys is already on when light.lys_aktivitesrum is turned on, then light.ihc_kontor_lys will dim to 24%. Is that what you want? If you want light.ihc_kontor_lys to turn on with a brightness of 24% when light.lys_aktivitesrum is turned on, then just remove the condition.
in Developer tools you can click check configuration like this, if you get anything other than the green text paste it in here in this thread as preformatted text, redact any sensitive information if you have it in the file