Lookup slug from config_entry id? (And remote restart of z-wave js)

zwave-js-ui: 11.17.0
zwave-js: 15.23.5

I have a POE zwave controller (SoE) and there are times when z-wave js controller reports it as "Unresponsive". This happens when there's a switch upgrade and the controller is power cycled.

Z-wave js tries to reconnect but then throws and exception. (Is that a z-wave js bug?)

2026-06-05 12:39:25.699 DRIVER   Failed to open the serial port: getaddrinfo ENOTFOUND tubeszb-black.local
2026-06-05 12:39:25.700 ERROR APP: Unhandled Rejection, reason: ZWaveError: Failed to open the serial port: getaddrinfo ENOTFOUND tubeszb-black.local (ZW0100)
ZWaveError: Failed to open the serial port: getaddrinfo ENOTFOUND tubeszb-black.local (ZW0100)
    at Driver.openSerialport (file:///opt/node_modules/zwave-js/src/lib/driver/Driver.ts:1876:9)
    at processTicksAndRejections (node:internal/process/task_queues:104:5)
    at recoverByReopeningSerialport (file:///opt/node_modules/zwave-js/src/lib/driver/Driver.ts:4711:4)

At this point the only solution is to restart ZUI. So, I have two questions.

  1. In this specific case ZUI is running as an App in HAOS. So, there's a way to restart the addon like this:
action: hassio.addon_restart
data:
  addon: a0d7b954_zwavejs2mqtt

But, how can I lookup that slug? Is there a way using the config entry ID?

I can get the config entry ID easy enough, for example:

{{ config_entry_id('sensor.800_series_long_range_gpio_module_status') }}

There's a way to look up config_entry attributes, but nothing for the slug. Dev Tools->actions for hassio.addon_restart does lookup the slug, so maybe there's a function I'm missing?

  1. As mentioned, in this case ZUI is running as an App, so can use hassio.addon_restart.
    But, is there a more generic way to ask z-wave js to restart that would work if ZUI isn't running as an app? For example, a way to issue a "controller.soft_reset" to ZUI? Doesn't seem like it.