Turning LED lights on and off generally does not use more electricity in most practical situations. LED lights are designed to be energy-efficient, and their power consumption is relatively low compared to traditional incandescent or fluorescent lights.
When you turn on an LED light, there is a brief surge of current to overcome the initial resistance, but it is negligible and lasts for a very short duration. The power required to turn on an LED is minimal compared to the power consumed while it is continuously illuminated.
Therefore, if you are using LED lights and you need to turn them off when not in use to conserve energy, it is generally a good practice. However, if you are constantly toggling the lights on and off within a very short period of time, such as multiple times per second, the frequent switching can potentially have a minor impact on their lifespan, but it is unlikely to significantly affect their energy consumption.