Flash lights that don't support brightness control

For my smart wall light switches and smart sockets for lamps, flashing lights isn’t supported for them. By doing a delay of turning them off and on again, this could be achieved. I currently do this manually via a script. Would be great if it was supported manually.