mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-27 21:20:03 +00:00
Fix Home Assistant discovery for Hive SLR2(b). https://github.com/Koenkk/zigbee2mqtt/issues/7903
This commit is contained in:
@@ -241,10 +241,6 @@ class HomeAssistant extends Extension {
|
||||
`{{ value_json.${awayMode.property} }}`;
|
||||
}
|
||||
|
||||
if (firstExpose.endpoint) {
|
||||
discoveryEntry.discovery_payload.state_topic_postfix = firstExpose.endpoint;
|
||||
}
|
||||
|
||||
discoveryEntries.push(discoveryEntry);
|
||||
} else if (firstExpose.type === 'lock') {
|
||||
assert(!endpoint, `Endpoint not supported for lock type`);
|
||||
|
||||
Reference in New Issue
Block a user