Skip to content

Commit

Permalink
fix HA opener state mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
technyon committed Aug 21, 2022
1 parent fe5ebb7 commit 313b679
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NetworkOpener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ void NetworkOpener::publishBinaryState(NukiOpener::LockState lockState)
switch(lockState)
{
case NukiOpener::LockState::Locked:
case NukiOpener::LockState::RTOactive:
publishString(mqtt_topic_lock_binary_state, "locked");
break;
case NukiOpener::LockState::RTOactive:
case NukiOpener::LockState::Open:
case NukiOpener::LockState::Opening:
publishString(mqtt_topic_lock_binary_state, "unlocked");
Expand Down
2 changes: 1 addition & 1 deletion Version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#pragma once

#define nuki_hub_version "5.9"
#define nuki_hub_version "5.10"
1 change: 0 additions & 1 deletion lib/WebServer/src/WebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ WebServer::~WebServer() {
{
delete _server;
_server = nullptr;
Serial.println("##### SERVER DELETED");
}
}

Expand Down
Binary file modified webflash/nuki_hub.bin
Binary file not shown.

0 comments on commit 313b679

Please sign in to comment.