Apply suggestions from code review

This commit is contained in:
Paulus Schoutsen
2025-08-20 17:28:07 +02:00
committed by GitHub
parent f04fe301f8
commit 773fc70c28
2 changed files with 5 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
async_log_entry(hass, name, message, domain, entity_id, service.context) async_log_entry(hass, name, message, domain, entity_id, service.context)
frontend.async_register_built_in_panel( 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, {}) recorder_conf = config.get(RECORDER_DOMAIN, {})

View File

@@ -3,7 +3,7 @@
"services": { "services": {
"log": { "log": {
"name": "Log", "name": "Log",
"description": "Creates a custom entry in the activity log.", "description": "Track a custom activity.",
"fields": { "fields": {
"name": { "name": {
"name": "[%key:common::config_flow::data::name%]", "name": "[%key:common::config_flow::data::name%]",
@@ -11,15 +11,15 @@
}, },
"message": { "message": {
"name": "Message", "name": "Message",
"description": "Message of the activity log entry." "description": "Message of the activity."
}, },
"entity_id": { "entity_id": {
"name": "Entity ID", "name": "Entity ID",
"description": "Entity to reference in the activity log entry." "description": "Entity to reference in the activity."
}, },
"domain": { "domain": {
"name": "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."
} }
} }
} }