From cb581bfba60bd2b0c19990f639f7bc0489de9c8f Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Tue, 10 Dec 2024 11:06:06 +0000 Subject: [PATCH 1/3] Add discovery to Mealie config Integrations can support discovery of add-ons if the add-on supports it. Adding discovery for Mealie so that the integration can detect the add-on and suggest a setup. Note this is not in place at the moment as need the discovery tag into the add-on to detect this, I am not an add-on dev so have been unable to work out where to add this into my own config to test. See adguard example of where this has been added. https://github.com/hassio-addons/addon-adguard-home/blob/f7d3615c616d942ef150e7bc0afc5a1c9e4060bc/adguard/config.yaml#L25 --- mealie/config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/mealie/config.json b/mealie/config.json index a4d554462..5a3f51977 100644 --- a/mealie/config.json +++ b/mealie/config.json @@ -109,6 +109,7 @@ "keyfile": "str", "ssl": "bool" }, + "discovery": ["mealie"], "slug": "mealie", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", From 06b534253edd10d03c14b2a771e3d262534c64d3 Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Tue, 10 Dec 2024 11:45:55 +0000 Subject: [PATCH 2/3] Update config.json Sort the config entry --- mealie/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mealie/config.json b/mealie/config.json index 5a3f51977..079e546be 100644 --- a/mealie/config.json +++ b/mealie/config.json @@ -64,6 +64,7 @@ "/dev/nvme1", "/dev/nvme2" ], + "discovery": ["mealie"], "environment": { "BASE_SUBPATH": "/mealie/", "DATA_DIR": "/config", @@ -109,7 +110,6 @@ "keyfile": "str", "ssl": "bool" }, - "discovery": ["mealie"], "slug": "mealie", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", From 1790c5d2ef60cade85cf4237488ac65295b64d24 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:52:34 +0100 Subject: [PATCH 3/3] TEst version --- mealie/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mealie/config.json b/mealie/config.json index 079e546be..1a96a8528 100644 --- a/mealie/config.json +++ b/mealie/config.json @@ -113,5 +113,5 @@ "slug": "mealie", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "v2.3.0" + "version": "v2.3.0-test" }