From f67a926f567d75dfcd961112210fb293d418ae97 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Fri, 5 Dec 2025 19:35:07 +0100 Subject: [PATCH] Move lametric URLs out of strings.json (#158051) --- homeassistant/components/lametric/services.py | 1 + homeassistant/components/lametric/strings.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/lametric/services.py b/homeassistant/components/lametric/services.py index 2d9cd8f222d..a3cd2b9aa7e 100644 --- a/homeassistant/components/lametric/services.py +++ b/homeassistant/components/lametric/services.py @@ -108,6 +108,7 @@ def async_setup_services(hass: HomeAssistant) -> None: SERVICE_MESSAGE, _async_service_message, schema=SERVICE_MESSAGE_SCHEMA, + description_placeholders={"icons_url": "https://developer.lametric.com/icons"}, ) diff --git a/homeassistant/components/lametric/strings.json b/homeassistant/components/lametric/strings.json index 2665e2f0b40..7d34c2122ef 100644 --- a/homeassistant/components/lametric/strings.json +++ b/homeassistant/components/lametric/strings.json @@ -211,7 +211,7 @@ "name": "[%key:common::config_flow::data::device%]" }, "icon": { - "description": "The ID number of the icon or animation to display. List of all icons and their IDs can be found at: https://developer.lametric.com/icons.", + "description": "The ID number of the icon or animation to display. List of all icons and their IDs can be found at: {icons_url}.", "name": "Icon ID" }, "icon_type": {