From c2a740d6103dfbab40683dfab78ae1538786a90d Mon Sep 17 00:00:00 2001 From: arthur-lzrs <55158951+arthur-lzrs@users.noreply.github.com> Date: Thu, 12 Nov 2026 20:36:19 -0300 Subject: [PATCH] docs: note where the br region in resolve-saic-rest-uri.sh comes from The comment named the gateway README's "API Endpoints" table as the source of truth, but that table does not list Brazil until SAIC-iSmart-API/saic-python-mqtt-gateway#527 is merged. Say so, and name the other projects that use the gateway-mg-br endpoint (see #594), so a later reader does not remove br as unknown. Co-Authored-By: Claude Sonnet 5.5 --- docker/resolve-saic-rest-uri.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/resolve-saic-rest-uri.sh b/docker/resolve-saic-rest-uri.sh index 8455f393..30a0876a 100644 --- a/docker/resolve-saic-rest-uri.sh +++ b/docker/resolve-saic-rest-uri.sh @@ -2,7 +2,11 @@ # Derives SAIC_REST_URI from SAIC_REGION for known endpoints, unless SAIC_REST_URI # is already set explicitly (so a user can always override for a region not listed # here). Source of truth: the "API Endpoints" table in the saic-python-mqtt-gateway -# README (SAIC-iSmart-API/saic-python-mqtt-gateway). +# README (SAIC-iSmart-API/saic-python-mqtt-gateway), except for br: that table does +# not list Brazil until SAIC-iSmart-API/saic-python-mqtt-gateway#527 is merged. The +# br endpoint (gateway-mg-br) is also used by ioBroker.mg-saic, mg-saic-ha, +# homebridge-mg-saic and GdAAuto (see joszz/GarageStack#594), so do not remove it as +# unknown. if [ -z "${SAIC_REST_URI:-}" ]; then case "${SAIC_REGION:-eu}" in eu) export SAIC_REST_URI="https://gateway-mg-eu.soimt.com/api.app/v1/" ;;