This commit is contained in:
iranl
2024-11-28 22:26:46 +01:00
parent 5dd90d186d
commit 378a0944d6

View File

@@ -608,7 +608,7 @@ void HomeAssistantDiscovery::publishHASSDeviceConfig(char* deviceType, const cha
"",
{ { (char*)"en", (char*)"true" } });
if(_offEnabled)
if(_offEnabled && strcmp(deviceType, "SmartLock") == 0)
{
// Hybrid connected
String hybridPath = _baseTopic;