Files
ha-core/homeassistant/components/timer/strings.json
G Johansson 2ce5b08fc3 Deprecate timer start optional duration parameter (#93471)
* Deprecate timer start option duration parameter

* Add test

* Fix strings

* breaks_in_ha_version

* strings

* Mod string
2023-08-30 11:48:13 +02:00

81 lines
2.2 KiB
JSON

{
"entity_component": {
"_": {
"name": "Timer",
"state": {
"active": "[%key:common::state::active%]",
"idle": "[%key:common::state::idle%]",
"paused": "[%key:common::state::paused%]"
},
"state_attributes": {
"duration": {
"name": "Duration"
},
"editable": {
"name": "[%key:common::generic::ui_managed%]",
"state": {
"true": "[%key:common::state::yes%]",
"false": "[%key:common::state::no%]"
}
},
"finishes_at": {
"name": "Finishes at"
},
"remaining": {
"name": "Remaining"
},
"restore": {
"name": "Restore"
}
}
}
},
"services": {
"start": {
"name": "[%key:common::action::start%]",
"description": "Starts a timer.",
"fields": {
"duration": {
"name": "Duration",
"description": "Duration the timer requires to finish. [optional]."
}
}
},
"pause": {
"name": "[%key:common::action::pause%]",
"description": "Pauses a timer."
},
"cancel": {
"name": "Cancel",
"description": "Cancels a timer."
},
"finish": {
"name": "Finish",
"description": "Finishes a timer."
},
"change": {
"name": "Change",
"description": "Changes a timer.",
"fields": {
"duration": {
"name": "Duration",
"description": "Duration to add or subtract to the running timer."
}
}
}
},
"issues": {
"deprecated_duration_in_start": {
"title": "The timer start service duration parameter is being removed",
"fix_flow": {
"step": {
"confirm": {
"title": "[%key:component::timer::issues::deprecated_duration_in_start::title%]",
"description": "The timer service `timer.start` optional duration parameter is being removed and use of it has been detected. To change the duration please create a new timer.\n\nPlease remove the use of the `duration` parameter in the `timer.start` service in your automations and scripts and select **submit** to close this issue."
}
}
}
}
}
}