Fix #540
This commit is contained in:
@@ -608,7 +608,7 @@ void HomeAssistantDiscovery::publishHASSDeviceConfig(char* deviceType, const cha
|
|||||||
"",
|
"",
|
||||||
{ { (char*)"en", (char*)"true" } });
|
{ { (char*)"en", (char*)"true" } });
|
||||||
|
|
||||||
if(_offEnabled)
|
if(_offEnabled && strcmp(deviceType, "SmartLock") == 0)
|
||||||
{
|
{
|
||||||
// Hybrid connected
|
// Hybrid connected
|
||||||
String hybridPath = _baseTopic;
|
String hybridPath = _baseTopic;
|
||||||
|
|||||||
Reference in New Issue
Block a user