mirror of
https://github.com/home-assistant/core.git
synced 2025-08-30 18:01:31 +02:00
Apply suggestions from code review
This commit is contained in:
@@ -115,7 +115,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
async_log_entry(hass, name, message, domain, entity_id, service.context)
|
||||
|
||||
frontend.async_register_built_in_panel(
|
||||
hass, "logbook", "Activity", "hass:format-list-bulleted-type"
|
||||
hass, "logbook", "logbook", "hass:format-list-bulleted-type"
|
||||
)
|
||||
|
||||
recorder_conf = config.get(RECORDER_DOMAIN, {})
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"services": {
|
||||
"log": {
|
||||
"name": "Log",
|
||||
"description": "Creates a custom entry in the activity log.",
|
||||
"description": "Track a custom activity.",
|
||||
"fields": {
|
||||
"name": {
|
||||
"name": "[%key:common::config_flow::data::name%]",
|
||||
@@ -11,15 +11,15 @@
|
||||
},
|
||||
"message": {
|
||||
"name": "Message",
|
||||
"description": "Message of the activity log entry."
|
||||
"description": "Message of the activity."
|
||||
},
|
||||
"entity_id": {
|
||||
"name": "Entity ID",
|
||||
"description": "Entity to reference in the activity log entry."
|
||||
"description": "Entity to reference in the activity."
|
||||
},
|
||||
"domain": {
|
||||
"name": "Domain",
|
||||
"description": "Determines which icon is used in the activity log entry. The icon illustrates the integration domain related to this activity log entry."
|
||||
"description": "Determines which icon is used in the activity. The icon illustrates the integration domain related to this activity."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user