KmanOz / Sonoff-HomeAssistant

Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant
MIT License
351 stars 86 forks source link

Deactivate LEDs on Sonoff S20 #40

Open TribuneX opened 6 years ago

TribuneX commented 6 years ago

Hi,

the firmware works really well. However, I wonder if it is possible to deactivate the blue and green LEDs when Sonoff is switched on. I don't want to have them on while the plug is turned on.

Can this be achieved with playing with: digitalWrite(LED, HIGH);?