publish keypad code info

This commit is contained in:
technyon
2022-08-10 22:12:23 +02:00
parent c56a019569
commit fa856dc656
7 changed files with 79 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ void NetworkOpener::publishKeyTurnerState(const NukiOpener::OpenerState& keyTurn
{
memset(&str, 0, sizeof(str));
NukiLock::doorSensorStateToString(keyTurnerState.doorSensorState, str);
publishString(mqtt_topic_door_sensor_state, str);
publishString(mqtt_topic_lock_door_sensor_state, str);
}
if(_firstTunerStatePublish || keyTurnerState.criticalBatteryState != lastKeyTurnerState.criticalBatteryState)