fix HA opener state mapping

This commit is contained in:
technyon
2022-08-21 21:25:14 +02:00
parent fe5ebb761d
commit 313b679bf6
4 changed files with 2 additions and 3 deletions

View File

@@ -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");

View File

@@ -1,3 +1,3 @@
#pragma once
#define nuki_hub_version "5.9"
#define nuki_hub_version "5.10"

View File

@@ -75,7 +75,6 @@ WebServer::~WebServer() {
{
delete _server;
_server = nullptr;
Serial.println("##### SERVER DELETED");
}
}

Binary file not shown.