mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-15 18:08:32 -07:00
Fix Home Assistant discovery for Hive SLR2(b). https://github.com/Koenkk/zigbee2mqtt/issues/7903
This commit is contained in:
parent
632f9f579c
commit
a41c00faea
@ -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`);
|
||||
|
Loading…
Reference in New Issue
Block a user