Yellow or orange things and colored food are easy to attract small flying insects, because the eyes of flying insects are most sensitive to this color.
You can put a basin of water under the lamp, which will be better, or get an insecticidal lamp!
You can try sandalwood, as long as it is mosquito-repellent incense with this ingredient. It is also good to light mosquito repellent with sandalwood alone, and it is even better to use electric mosquito repellent!
The temperature of the air conditioner is lower.
Hang some ultraviolet mosquito killer.
So it's solved.
Generally, you should dispose of it in time after eating, or seal garbage bags, especially fruits with high water content such as watermelons.
Don't spray any chemicals, just do a good job of hygiene, and the smell of mountains and seas will answer you.