* Add notify entity component * Device classes, restore state, icons * Add icons file * Add tests for kitchen_sink * Remove notify from no_entity_platforms in hassfest icons, translation link * ruff * Remove `data` feature * Only message support * Complete initial device classes * mypy pylint * Remove device_class implementation * format * Follow up comments * Remove _attr_supported_features * Use setup_test_component_platform * User helper at other places * last comment * Add entry unload test and non async test * Avoid default mutable object in constructor
61 lines
1.9 KiB
JSON
61 lines
1.9 KiB
JSON
{
|
|
"title": "Notifications",
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "[%key:component::notify::title%]"
|
|
}
|
|
},
|
|
"services": {
|
|
"notify": {
|
|
"name": "Send a notification",
|
|
"description": "Sends a notification message to selected targets.",
|
|
"fields": {
|
|
"message": {
|
|
"name": "Message",
|
|
"description": "Message body of the notification."
|
|
},
|
|
"title": {
|
|
"name": "Title",
|
|
"description": "Title for your notification."
|
|
},
|
|
"target": {
|
|
"name": "Target",
|
|
"description": "Some integrations allow you to specify the targets that receive the notification. For more information, refer to the integration documentation."
|
|
},
|
|
"data": {
|
|
"name": "Data",
|
|
"description": "Some integrations provide extended functionality. For information on how to use _data_, refer to the integration documentation."
|
|
}
|
|
}
|
|
},
|
|
"send_message": {
|
|
"name": "Send a notification message",
|
|
"description": "Sends a notification message.",
|
|
"fields": {
|
|
"message": {
|
|
"name": "Message",
|
|
"description": "Your notification message."
|
|
}
|
|
}
|
|
},
|
|
"persistent_notification": {
|
|
"name": "Send a persistent notification",
|
|
"description": "Sends a notification that is visible in the **Notifications** panel.",
|
|
"fields": {
|
|
"message": {
|
|
"name": "Message",
|
|
"description": "Message body of the notification."
|
|
},
|
|
"title": {
|
|
"name": "Title",
|
|
"description": "Title of the notification."
|
|
},
|
|
"data": {
|
|
"name": "Data",
|
|
"description": "Some integrations provide extended functionality. For information on how to use _data_, refer to the integration documentation.."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|