.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-08-14 00:07:58 +00:00
parent c2db279321
commit 004385a28b
2 changed files with 29 additions and 27 deletions
+2
View File
@@ -1121,3 +1121,5 @@
{"timestamp": "2026-08-10T13:29:56.627164+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer_stats", "config": null, "python_transform": "config['views'][0]['sections'][5]['cards'][0]['icon'] = 'mdi:chart-donut'; config['views'][0]['sections'][5]['cards'][1]['icon'] = 'mdi:history'; config['views'][0]['sections'][5]['cards'][5]['icon'] = 'mdi:chart-pie'", "config_hash": "6dd5f55fa505ded2", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 6.501913070678711, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Dashboard modified since last read (conflict)\",\n \"suggestion\": \"Call ha_config_get_dashboard() again\",\n \"suggestions\": [\n \"Call ha_config_get_dashboard() again\",\n \"Use the fresh config_hash from that response\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"action\": \"python_transform\",\n \"url_path\": \"printer-stats\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-10T13:30:19.219368+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer_stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "print", "mode": null, "query": null}, "execution_time_ms": 13.107776641845703, "success": true, "error_message": null, "response_size_bytes": 7895, "user_context": null}
{"timestamp": "2026-08-10T13:30:24.130642+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer_stats", "config": null, "python_transform": "config['views'][0]['sections'][5]['cards'][0]['icon'] = 'mdi:chart-donut'; config['views'][0]['sections'][5]['cards'][1]['icon'] = 'mdi:history'; config['views'][0]['sections'][5]['cards'][5]['icon'] = 'mdi:chart-pie'", "config_hash": "8d48702d70f7ccbf", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 44.795989990234375, "success": true, "error_message": null, "response_size_bytes": 836, "user_context": null}
{"timestamp": "2026-08-14T00:07:51.256791+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "3D Printer Running - Playroom Light & Basement Heat"}, "execution_time_ms": 217.75245666503906, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Automation not found: 3D Printer Running - Playroom Light & Basement Heat\",\n \"suggestion\": \"Use ha_search(domain_filter='automation') to find existing automations\"\n },\n \"automation_id\": \"3D Printer Running - Playroom Light & Basement Heat\",\n \"available_automation_ids\": [\n \"automation.tablet_dim_screen_at_night\",\n \"automation.tablet_restore_screen_in_morning\",\n \"automation.reload_hilo_integrations_on_reboot\",\n \"automation.notify_when_ring_console_battery_low\",\n \"automation.notify_when_front_door_sensor_battery_low\",\n \"automation.alert_fridge_or_freezer_power_outage\",\n \"automation.kitchen_coffee_maker_active_notification\",\n \"automation.office_turn_on_lights_on_motion\",\n \"automation.office_turn_off_lights_on_exit\",\n \"automation.water_leak_detected\"\n ]\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-14T00:07:51.501501+00:00", "tool_name": "ha_search", "parameters": {"query": "3d printer lights", "domain_filter": "light", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 229.4929027557373, "success": true, "error_message": null, "response_size_bytes": 928, "user_context": null}
+27 -27
View File
@@ -1,13 +1,13 @@
{
"0xffffb40e0607ace4": {
"energy": 14.72,
"energy": 14.76,
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 121.5,
"voltage": 119,
"countdown_to_turn_on": 0,
"ac_frequency": 60,
"power_factor": 0.52,
"power_factor": 0.45,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -15,9 +15,9 @@
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
"latest_release_notes": null
},
"power": 167.2,
"power": 25.6,
"linkquality": 116,
"current": 2.26,
"current": 0.47,
"power_on_behavior": "on"
},
"0xffffb40e0607af27": {
@@ -27,10 +27,10 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 2.1,
"power": 3.7,
"current": 0.12,
"energy": 28.38,
"power_factor": 0.14,
"energy": 28.43,
"power_factor": 0.25,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -45,10 +45,10 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 121.9,
"voltage": 119,
"countdown_to_turn_on": 0,
"energy": 55.48,
"power_factor": 0.3,
"power_factor": 0.2,
"ac_frequency": 60,
"update": {
"state": "idle",
@@ -74,12 +74,12 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 120.7,
"voltage": 118.7,
"state": "ON",
"ac_frequency": 60,
"energy": 113.96,
"power": 101.8,
"current": 0.85,
"energy": 113.98,
"power": 98.2,
"current": 0.9,
"power_factor": 0.94,
"update": {
"state": "idle",
@@ -95,13 +95,13 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 121.7,
"energy": 50.7,
"voltage": 119,
"energy": 50.71,
"state": "ON",
"power": 44.3,
"current": 0.49,
"power": 86.4,
"current": 0.9,
"ac_frequency": 60,
"power_factor": 0.74,
"power_factor": 0.75,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -114,12 +114,12 @@
},
"0xffffb40e060895b3": {
"state": "ON",
"voltage": 121.7,
"voltage": 120.2,
"ac_frequency": 60,
"energy": 7.14,
"current": 0.01,
"power": 0.1,
"power_factor": 0.13,
"power_factor": 0.22,
"linkquality": 123,
"update": {
"state": "idle",
@@ -136,14 +136,14 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 122.4,
"voltage": 120,
"energy": 17.63,
"countdown_to_turn_on": 0,
"state": "ON",
"current": 0.02,
"ac_frequency": 60,
"power": 18.4,
"power_factor": 0.98,
"power_factor": 0.14,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -172,7 +172,7 @@
"0xffffb40e060893d8": {
"state": "ON",
"led_brightness": 100,
"voltage": 122.2,
"voltage": 120,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"energy": 3.11,
@@ -187,12 +187,12 @@
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
"latest_release_notes": null
},
"power_factor": 0,
"power": 0.1
"power_factor": 0.06,
"power": 0
},
"0xa4c1380d0679ffff": {
"battery": 100,
"temperature": 27.4,
"temperature": 27.3,
"temperature_units": "celsius",
"temperature_calibration": 0,
"update": {