Move out zwave_js api docs url from strings.json (#157959)

This commit is contained in:
Jan Bouwhuis
2025-12-04 15:10:26 +01:00
committed by GitHub
parent 845c9ee05f
commit 11b4d75cfb
2 changed files with 5 additions and 2 deletions
@@ -306,6 +306,9 @@ class ZWaveServices:
has_at_least_one_node,
),
),
description_placeholders={
"api_docs_url": "https://zwave-js.github.io/node-zwave-js/#/api/CCs/index"
},
)
self._hass.services.async_register(
@@ -400,11 +400,11 @@
"name": "Entity ID(s)"
},
"method_name": {
"description": "The name of the API method to call. Refer to the Z-Wave Command Class API documentation (https://zwave-js.github.io/node-zwave-js/#/api/CCs/index) for available methods.",
"description": "The name of the API method to call. Refer to the Z-Wave Command Class API documentation ({api_docs_url}) for available methods.",
"name": "Method name"
},
"parameters": {
"description": "A list of parameters to pass to the API method. Refer to the Z-Wave Command Class API documentation (https://zwave-js.github.io/node-zwave-js/#/api/CCs/index) for parameters.",
"description": "A list of parameters to pass to the API method. Refer to the Z-Wave Command Class API documentation ({api_docs_url}) for parameters.",
"name": "Parameters"
}
},