mirror of
https://github.com/home-assistant/core.git
synced 2025-08-17 19:41:45 +02:00
Migrate time services to support translations (#96402)
This commit is contained in:
@@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user