Migrate time services to support translations (#96402)
This commit is contained in:
parent
ce3c23cb3a
commit
a3a2e6cc8d
2 changed files with 12 additions and 4 deletions
|
@ -1,13 +1,9 @@
|
|||
set_value:
|
||||
name: Set Time
|
||||
description: Set the time for a time entity.
|
||||
target:
|
||||
entity:
|
||||
domain: time
|
||||
fields:
|
||||
time:
|
||||
name: Time
|
||||
description: The time to set.
|
||||
required: true
|
||||
example: "22:15"
|
||||
selector:
|
||||
|
|
|
@ -4,5 +4,17 @@
|
|||
"_": {
|
||||
"name": "[%key:component::time::title%]"
|
||||
}
|
||||
},
|
||||
"services": {
|
||||
"set_value": {
|
||||
"name": "Set Time",
|
||||
"description": "Sets the time.",
|
||||
"fields": {
|
||||
"time": {
|
||||
"name": "Time",
|
||||
"description": "The time to set."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue