Turning led on and off remotelly

Explicitly setting the initial value is allowed, and highly recommended. It happens ONCE.