Touchups
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
2019-11-29 10:53:44 +01:00
parent 0287456f1e
commit b5498b7173
4 changed files with 13 additions and 5 deletions

View File

@ -20,7 +20,7 @@ bool powerStateHandler(const HomieRange& range, const String& value)
powerNode.setProperty("state").send(value);
powerNode.setProperty("timer").send("0");
timer = 0;
if(value == "on")
{
OUTPUT_SET(true);
@ -109,7 +109,7 @@ void setup()
{
Serial.begin(CONFIG_SERIAL_BAUDRATE);
Homie_setFirmware("deskcontrol", CONFIG_VERSION);
Homie_setFirmware("deskcontrol", VERSION);
Homie.disableResetTrigger();