You do not need a diffuser for yoga. In a shared class or room, leaving it unscented is the simplest option unless everyone wants fragrance.
Check the room before you check the scent
Ask anyone sharing the space. Keep a device and its cord out of the movement area. If someone finds the smell distracting or irritating, switch the device off.
Try a fragrance only if it suits the setting
For solo home practice, compare an unscented session with one compatible fragrance at the same seat or mat. Decide which you prefer; this is about the room, not performance or health benefits. For everyday appliance precautions see the diffuser safety guide.