mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Migrate number services to support translations (#96343)
This commit is contained in:
parent
bc9b9048f0
commit
91273481a8
@ -1,15 +1,11 @@
|
||||
# Describes the format for available Number entity services
|
||||
|
||||
set_value:
|
||||
name: Set
|
||||
description: Set the value of a Number entity.
|
||||
target:
|
||||
entity:
|
||||
domain: number
|
||||
fields:
|
||||
value:
|
||||
name: Value
|
||||
description: The target value the entity should be set to.
|
||||
example: 42
|
||||
selector:
|
||||
text:
|
||||
|
@ -154,5 +154,17 @@
|
||||
"wind_speed": {
|
||||
"name": "[%key:component::sensor::entity_component::wind_speed::name%]"
|
||||
}
|
||||
},
|
||||
"services": {
|
||||
"set_value": {
|
||||
"name": "Set",
|
||||
"description": "Sets the value of a number.",
|
||||
"fields": {
|
||||
"value": {
|
||||
"name": "Value",
|
||||
"description": "The target value to set."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user