mirror of
https://github.com/home-assistant/core.git
synced 2026-07-04 23:51:32 +02:00
Move out zwave_js api docs url from strings.json (#157959)
This commit is contained in:
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user