azuwis / zigbee2mqtt-networkmap

Home Assistant Custom Card to show Zigbee2mqtt network map
251 stars 18 forks source link

Set "routes" to "false" when creating map #45

Closed dmatik closed 1 year ago

dmatik commented 1 year ago

When refreshing the map from the card it always uses (includeRoutes 'true'). Can this please be configurable, or at least "false" by default?

azuwis commented 1 year ago

Should be fixed by https://github.com/azuwis/zigbee2mqtt-networkmap/commit/ac9661cec21330b1724271439005a105da8c39d4

Please test this js and see if it works zigbee2mqtt-networkmap.txt

    cards:
      - type: custom:zigbee2mqtt-networkmap
        entity: sensor.zigbee2mqtt_networkmap
        mqtt_payload: { type: 'raw', routes: false }
dmatik commented 1 year ago

Hi, Yes, this is working just fine. Thanks!

azuwis commented 1 year ago

Close by new release https://github.com/azuwis/zigbee2mqtt-networkmap#080---2023-05-29