Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #35 from bluewalk/develop
Browse files Browse the repository at this point in the history
Version 1.5.1.0
  • Loading branch information
bluewalk committed Jul 15, 2020
2 parents 0f7873c + 2eabb21 commit 27e768c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Net.Bluewalk.NukiBridge2Mqtt/Logic/NukiBridge2MqttLogic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ private async Task PublishDeviceStatus(Device device)
await Publish($"{device.NukiId}/device-state", device.LastKnownState?.StateName);
await Publish($"{device.NameMqtt}/device-state", device.LastKnownState?.StateName);

await Publish($"{device.NukiId}/door-state", device.LastKnownState?.DoorSensorStateName );
await Publish($"{device.NameMqtt}/door-state", device.LastKnownState?.DoorSensorStateName );
await Publish($"{device.NukiId}/door-state", device.LastKnownState?.DoorSensorState.ToString());
await Publish($"{device.NameMqtt}/door-state", device.LastKnownState?.DoorSensorState.ToString());

await Publish($"{device.NukiId}/device-mode", device.LastKnownState?.Mode.ToString());
await Publish($"{device.NameMqtt}/device-mode", device.LastKnownState?.Mode.ToString());
Expand Down

0 comments on commit 27e768c

Please sign in to comment.