hass-core/homeassistant/components/persistent_notification/strings.json
Paulus Schoutsen 7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00

36 lines
1.1 KiB
JSON

{
"services": {
"create": {
"name": "Create",
"description": "Shows a notification on the **Notifications** panel.",
"fields": {
"message": {
"name": "Message",
"description": "Message body of the notification."
},
"title": {
"name": "Title",
"description": "Optional title of the notification."
},
"notification_id": {
"name": "Notification ID",
"description": "ID of the notification. This new notification will overwrite an existing notification with the same ID."
}
}
},
"dismiss": {
"name": "Dismiss",
"description": "Removes a notification from the **Notifications** panel.",
"fields": {
"notification_id": {
"name": "[%key:component::persistent_notification::services::create::fields::notification_id::name%]",
"description": "ID of the notification to be removed."
}
}
},
"dismiss_all": {
"name": "Dismiss all",
"description": "Removes all notifications from the **Notifications** panel."
}
}
}