forked from platypush/platypush
Added support for reachable flag on zwave.mqtt child entities
This commit is contained in:
parent
2b532c1947
commit
080b21ab70
1 changed files with 3 additions and 1 deletions
|
@ -698,7 +698,9 @@ class ZwaveMqttPlugin(MqttPlugin, ZwaveBasePlugin):
|
|||
)
|
||||
entities.append(parent)
|
||||
|
||||
entity.parent = parent_entities[node_id]
|
||||
parent = parent_entities[node_id]
|
||||
entity.parent = parent
|
||||
entity.reachable = parent.reachable
|
||||
|
||||
@staticmethod
|
||||
def _merge_current_and_target_values(values: Iterable[dict]) -> List[dict]:
|
||||
|
|
Loading…
Reference in a new issue