Sonoff POW Elite Configuration

Finally!

Seems the problem is on this code

    lambda: |-
      if (isnan(id(w_sensor).state)) {
        return {};
      } else if (id(w_sensor).state > 4) {
        // Running
        return true;
      } else {
        // Not running
        return false;
      }

I’m making test without having anything connected to the output, and this code seems that only works if a device with consumption is connected…