Using some Sonoff devices I’d like to use one of the two LEDs of the device to indicate if Wifi is connected or not !
I was thinking about code like that below but it looks if can not be used this way A turnaround to do that ? Have looked on esphome website and here but found nothing similar !
Ah thanks it’s what I was missing, just a little confused by the fact you need a condition to put an other one but working fine now with an interval of 1s
Yep very good idea but unhappy the behaviour of this indicator is not good for me, and there is no way to change it I prefer to get status led full on when it’s working then completely off as you don’t know in this case if it’s dead/not powered or really working…