.ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.printer_stats

This commit is contained in:
Home Assistant Version Control
2026-08-14 15:19:05 +00:00
parent 30c9ddd179
commit 9246fef700
2 changed files with 35 additions and 0 deletions
+1
View File
@@ -1222,3 +1222,4 @@
{"timestamp": "2026-08-14T15:18:44.764815+00:00", "tool_name": "ha_set_entity", "parameters": {"entity_id": "sensor.octoprint_octoprint_print_user", "area_id": null, "name": null, "icon": null, "device_class": null, "options": null, "enabled": null, "hidden": null, "aliases": null, "categories": null, "labels": null, "label_operation": "set", "expose_to": null, "new_entity_id": "sensor.octoprint_print_user", "new_device_name": null}, "execution_time_ms": 10.73312759399414, "success": true, "error_message": null, "response_size_bytes": 693, "user_context": null}
{"timestamp": "2026-08-14T15:18:44.894122+00:00", "tool_name": "ha_set_entity", "parameters": {"entity_id": "binary_sensor.octoprint_octoprint_serial_health_critical", "area_id": null, "name": null, "icon": null, "device_class": null, "options": null, "enabled": null, "hidden": null, "aliases": null, "categories": null, "labels": null, "label_operation": "set", "expose_to": null, "new_entity_id": "binary_sensor.octoprint_serial_health_critical", "new_device_name": null}, "execution_time_ms": 16.721248626708984, "success": true, "error_message": null, "response_size_bytes": 805, "user_context": null}
{"timestamp": "2026-08-14T15:18:44.931851+00:00", "tool_name": "ha_set_entity", "parameters": {"entity_id": "sensor.octoprint_octoprint_serial_health_ratio", "area_id": null, "name": null, "icon": null, "device_class": null, "options": null, "enabled": null, "hidden": null, "aliases": null, "categories": null, "labels": null, "label_operation": "set", "expose_to": null, "new_entity_id": "sensor.octoprint_serial_health_ratio", "new_device_name": null}, "execution_time_ms": 4.978418350219727, "success": true, "error_message": null, "response_size_bytes": 747, "user_context": null}
{"timestamp": "2026-08-14T15:18:59.521447+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][0]['cards'].insert(6, {'type': 'tile', 'entity': 'binary_sensor.octoprint_paused', 'name': 'Paused', 'icon': 'mdi:pause', 'grid_options': {'columns': 6}}); config['views'][0]['sections'][0]['cards'].insert(7, {'type': 'markdown', 'content': \"**File:** {{ states('sensor.octoprint_print_file') }}\\n**Size:** {{ (states('sensor.octoprint_print_file_size') | int(0) / 1024) | round(1) }} KB\\n**User:** {{ states('sensor.octoprint_print_user') }}\", 'grid_options': {'columns': 6}}); config['views'][1]['sections'][4]['cards'].append({'type': 'tile', 'entity': 'sensor.octoprint_serial_health_ratio', 'name': 'Serial Health', 'icon': 'mdi:heart-pulse', 'grid_options': {'columns': 6}}); config['views'][1]['sections'][4]['cards'].append({'type': 'tile', 'entity': 'binary_sensor.octoprint_serial_health_critical', 'name': 'Serial Critical', 'icon': 'mdi:alert', 'grid_options': {'columns': 6}})", "config_hash": "0d7d1cc2e390b000", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 8.291482925415039, "success": true, "error_message": null, "response_size_bytes": 1607, "user_context": null}
+34
View File
@@ -63,6 +63,22 @@
"columns": 6
}
},
{
"type": "tile",
"entity": "binary_sensor.octoprint_paused",
"name": "Paused",
"icon": "mdi:pause",
"grid_options": {
"columns": 6
}
},
{
"type": "markdown",
"content": "**File:** {{ states('sensor.octoprint_print_file') }}\n**Size:** {{ (states('sensor.octoprint_print_file_size') | int(0) / 1024) | round(1) }} KB\n**User:** {{ states('sensor.octoprint_print_user') }}",
"grid_options": {
"columns": 6
}
},
{
"type": "tile",
"entity": "sensor.octoprint_print_file",
@@ -808,6 +824,24 @@
"type": "tile",
"entity": "sensor.octoprint_uptime",
"icon": "mdi:clock-outline"
},
{
"type": "tile",
"entity": "sensor.octoprint_serial_health_ratio",
"name": "Serial Health",
"icon": "mdi:heart-pulse",
"grid_options": {
"columns": 6
}
},
{
"type": "tile",
"entity": "binary_sensor.octoprint_serial_health_critical",
"name": "Serial Critical",
"icon": "mdi:alert",
"grid_options": {
"columns": 6
}
}
]
}