Skip to content

Commit f67a926

Browse files
authored
Move lametric URLs out of strings.json (home-assistant#158051)
1 parent e0a9d30 commit f67a926

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

homeassistant/components/lametric/services.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ async def _async_service_message(call: ServiceCall) -> None:
108108
SERVICE_MESSAGE,
109109
_async_service_message,
110110
schema=SERVICE_MESSAGE_SCHEMA,
111+
description_placeholders={"icons_url": "https://developer.lametric.com/icons"},
111112
)
112113

113114

homeassistant/components/lametric/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
"name": "[%key:common::config_flow::data::device%]"
212212
},
213213
"icon": {
214-
"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.",
214+
"description": "The ID number of the icon or animation to display. List of all icons and their IDs can be found at: {icons_url}.",
215215
"name": "Icon ID"
216216
},
217217
"icon_type": {

0 commit comments

Comments
 (0)