It was a mix from script syntax / YAML syntax and a wrong entity_id. Now I choosed the suitable entity_id from the developers section in FE an here is the working automation - section from configuration.yaml:
but now I am struggling with the z-wave range. I’ts quite poor and I tested it for hours an hours. Now I decided to change the controller vom z-wave.me to z-wave Aeon Labs USB-Stick GEN5. Next days I’ll see if I’ll gain some meters to get a suitable homeautomation.