We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9cbe50 + 0594e26 commit be4b34aCopy full SHA for be4b34a
hardware/AnnaThermostat.cpp
@@ -420,11 +420,11 @@ void CAnnaThermostat::GetMeterDetails()
420
{
421
if(strcmp(tmpstr.c_str(), "on") == 0)
422
423
- SendTextSensor(8, 1, 255, "On",sname);
+ SendSwitch(8, 1, 255, true, 0, sname);
424
}
425
else
426
427
- SendTextSensor(8, 1, 255, "Off",sname);
+ SendSwitch(8, 1, 255, false, 0, sname);
428
429
430
@@ -436,11 +436,11 @@ void CAnnaThermostat::GetMeterDetails()
436
437
438
439
- SendTextSensor(9, 1, 255, "On",sname);;
+ SendSwitch(9, 1, 255, true, 0, sname);
440
441
442
443
- SendTextSensor(9, 1, 255, "Off",sname);;
+ SendSwitch(9, 1, 255, false, 0, sname);
444
445
446
0 commit comments