I ve modified my ZigBee bathroom led light. Replaced the daughterboard with an esp32, integrated a humidity sensor and a presence sensor, another rely and a power circuit, and I now have a bathroom light that lights up automatically when someone is in the room, and turns on the extractor only if the humidity is a ove a certain level.
I ve done all this by taking photos of the circuits and asking Gemini how to do it.