17 channel.setType(SUPLA_CHANNELTYPE_WINDSENSOR);
19 channel.setNewValue(WIND_NOT_AVAILABLE);
22 virtual double getValue() {
23 return WIND_NOT_AVAILABLE;
27 if (millis() - lastReadTime > 10000) {
28 lastReadTime = millis();
29 channel.setNewValue(getValue());
34 uint32_t lastReadTime = 0;