Switch zigbee with wifi bulb

Is there a simple Yaml script as template? I asked this before. I’m new with this. I have a aqara switch (2 buttons) in Conbee (visible in Home assistant) and a wifi bulb visible in Home assistant. All i want is when I press the button the light goes on or of. Normally I set this up in conbee, but for this device that will not work since it is a wifi bulb.