Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Aug 8, 2024
1 parent 8765e01 commit a9efed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MycilaRouter/MycilaRouterOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void Mycila::RouterOutput::applyAutoBypass() {
// temperature checks

if (!_temperature.neverUpdated()) {
if (!_temperature) {
if (!_temperature.isPresent()) {
if (_autoBypassEnabled) {
LOGW(TAG, "Invalid temperature sensor value: stopping Auto Bypass '%s'", _name);
_autoBypassEnabled = false;
Expand Down

0 comments on commit a9efed0

Please sign in to comment.