mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Migrate time services to support translations (#96402)
This commit is contained in:
parent
ce3c23cb3a
commit
a3a2e6cc8d
@ -1,13 +1,9 @@
|
|||||||
set_value:
|
set_value:
|
||||||
name: Set Time
|
|
||||||
description: Set the time for a time entity.
|
|
||||||
target:
|
target:
|
||||||
entity:
|
entity:
|
||||||
domain: time
|
domain: time
|
||||||
fields:
|
fields:
|
||||||
time:
|
time:
|
||||||
name: Time
|
|
||||||
description: The time to set.
|
|
||||||
required: true
|
required: true
|
||||||
example: "22:15"
|
example: "22:15"
|
||||||
selector:
|
selector:
|
||||||
|
@ -4,5 +4,17 @@
|
|||||||
"_": {
|
"_": {
|
||||||
"name": "[%key:component::time::title%]"
|
"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…
x
Reference in New Issue
Block a user