Skip to content

Commit

Permalink
add correct version to mqtt
Browse files Browse the repository at this point in the history
  • Loading branch information
mwood77 committed Oct 8, 2024
1 parent 359bd95 commit f59b213
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platformio/osww-server/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ AsyncWebServer server(80);
HTTPClient http;
WiFiClient client;
ESP32Time rtc;
String winderooVersion = "3.0.0";

#if PWM_MOTOR_CONTROL
MotorControl motor(directionalPinA, directionalPinB, true);
Expand Down Expand Up @@ -1216,7 +1217,7 @@ void setup()
device.setName("Winderoo");
device.setManufacturer("mwood77");
device.setModel("Winderoo");
device.setSoftwareVersion("1.0.0");
device.setSoftwareVersion(winderooVersion.c_str());
device.enableSharedAvailability();

ha_oledSwitch.setName("OLED");
Expand Down

0 comments on commit f59b213

Please sign in to comment.