From cf149f9cda1a6884bc7c3f80c8d4b30ca75702ce Mon Sep 17 00:00:00 2001 From: Marco Kirchner Date: Sun, 27 Oct 2024 20:28:08 +0100 Subject: [PATCH] mount addon_config into container --- zigbee2mqtt-edge/config.json | 16 ++++++++++++++-- zigbee2mqtt/CHANGELOG.md | 3 +++ zigbee2mqtt/config.json | 16 ++++++++++++++-- 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/zigbee2mqtt-edge/config.json b/zigbee2mqtt-edge/config.json index ab291a3e..523ad39b 100644 --- a/zigbee2mqtt-edge/config.json +++ b/zigbee2mqtt-edge/config.json @@ -23,8 +23,20 @@ "timeout": 30, "panel_icon": "mdi:zigbee", "map": [ - "share:rw", - "config:rw" + { + "type": "share", + "read_only": false + }, + { + "type": "homeassistant_config", + "read_only": false, + "path": "/config" + }, + { + "type": "addon_config", + "read_only": false, + "path": "/addon_config" + } ], "ports": { "8485/tcp": 8485, diff --git a/zigbee2mqtt/CHANGELOG.md b/zigbee2mqtt/CHANGELOG.md index 7f5c784b..c568eda7 100644 --- a/zigbee2mqtt/CHANGELOG.md +++ b/zigbee2mqtt/CHANGELOG.md @@ -1,3 +1,6 @@ +## [Unreleased] +- Mount addon specific configuration into the addon container (`/addon_config`) + ## 1.40.2-1 - Updated Zigbee2MQTT to version [`1.40.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.40.2) diff --git a/zigbee2mqtt/config.json b/zigbee2mqtt/config.json index 23aab47a..967da398 100644 --- a/zigbee2mqtt/config.json +++ b/zigbee2mqtt/config.json @@ -23,8 +23,20 @@ "timeout": 30, "panel_icon": "mdi:zigbee", "map": [ - "share:rw", - "config:rw" + { + "type": "share", + "read_only": false + }, + { + "type": "homeassistant_config", + "read_only": false, + "path": "/config" + }, + { + "type": "addon_config", + "read_only": false, + "path": "/addon_config" + } ], "ports": { "8485/tcp": 8485,