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

This commit is contained in:
Home Assistant Version Control
2026-08-14 15:52:45 +00:00
parent 4bf1a4e770
commit 4bdbc4dde1
2 changed files with 26 additions and 24 deletions
+2
View File
@@ -1234,3 +1234,5 @@
{"timestamp": "2026-08-14T15:45:04.482550+00:00", "tool_name": "ha_get_integration", "parameters": {"entry_id": "01KZE886307286YXMBE4G8435Y", "query": null, "domain": null, "include_options": true, "include_schema": false, "include_subentries": false, "include_subentry_schema": false, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "exact_match": true, "limit": 50, "offset": 0, "include_diagnostics": false, "include_knx_project": false, "device_id": null, "diagnostics_fields": null, "diagnostics_truncate_at_bytes": null, "diagnostics_data_path": null, "diagnostics_data_offset": 0, "diagnostics_data_limit": null}, "execution_time_ms": 55.383920669555664, "success": true, "error_message": null, "response_size_bytes": 910, "user_context": null}
{"timestamp": "2026-08-14T15:45:04.917745+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_print_time_left_live", "sensor.octoprint_print_time_left", "sensor.octoprint_time_left", "binary_sensor.octoprint_printing"], "fields": ["entity_id", "state"], "attribute_keys": null}, "execution_time_ms": 79.62250709533691, "success": true, "error_message": null, "response_size_bytes": 809, "user_context": null}
{"timestamp": "2026-08-14T15:45:26.548905+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][0]['cards'][7]['content'] = \"**File:** {{ states('sensor.octoprint_print_file') }}\\n**Size:** {{ (states('sensor.octoprint_print_file_size') | int(0) / 1048576) | round(1) }} MB\\n**User:** {{ states('sensor.octoprint_print_user') }}\"; config['views'][0]['sections'][1]['cards'][3]['primary'] = \"{% set s = states('sensor.octoprint_time_left') | float(-1) %}{% if s <= 0 %}Remaining: No estimate{% else %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}{% endif %}\"", "config_hash": "bd5b4fe345bbe46d", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 49.88217353820801, "success": true, "error_message": null, "response_size_bytes": 1200, "user_context": null}
{"timestamp": "2026-08-14T15:52:39.575354+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_elapsed", "fields": null, "attribute_keys": null}, "execution_time_ms": 10.149955749511719, "success": true, "error_message": null, "response_size_bytes": 793, "user_context": null}
{"timestamp": "2026-08-14T15:52:39.829878+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_elapsed", "source": "history", "start_time": "24h", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 47.96171188354492, "success": true, "error_message": null, "response_size_bytes": 13348, "user_context": null}
+24 -24
View File
@@ -4,7 +4,7 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 119.8,
"voltage": 120.3,
"countdown_to_turn_on": 0,
"ac_frequency": 60,
"power_factor": 0.11,
@@ -27,8 +27,8 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 2.7,
"current": 0.12,
"power": 2.1,
"current": 0.11,
"energy": 28.61,
"power_factor": 0.15,
"update": {
@@ -45,9 +45,9 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 119.4,
"voltage": 120,
"countdown_to_turn_on": 0,
"energy": 55.97,
"energy": 55.98,
"power_factor": 0.89,
"ac_frequency": 60,
"update": {
@@ -58,8 +58,8 @@
"latest_release_notes": null
},
"linkquality": 134,
"power": 85.7,
"current": 0.82,
"power": 0.2,
"current": 0.01,
"power_on_behavior": "on"
},
"0xb40e060fffe031e3": {
@@ -74,13 +74,13 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 118.8,
"voltage": 118.6,
"state": "ON",
"ac_frequency": 60,
"energy": 115.12,
"power": 3.7,
"current": 0.05,
"power_factor": 0.41,
"power": 100.7,
"current": 0.89,
"power_factor": 0.95,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -95,13 +95,13 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 119.3,
"energy": 51.7,
"voltage": 119.9,
"energy": 51.71,
"state": "ON",
"power": 63.5,
"current": 0.74,
"power": 58.5,
"current": 0.73,
"ac_frequency": 60,
"power_factor": 0.75,
"power_factor": 0.76,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -114,7 +114,7 @@
},
"0xffffb40e060895b3": {
"state": "ON",
"voltage": 119.6,
"voltage": 120.2,
"ac_frequency": 60,
"energy": 7.22,
"current": 0.01,
@@ -136,13 +136,13 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 120.2,
"voltage": 120.7,
"energy": 17.63,
"countdown_to_turn_on": 0,
"state": "ON",
"current": 0.02,
"ac_frequency": 60,
"power": 0.3,
"power": 0.4,
"power_factor": 0.19,
"update": {
"state": "idle",
@@ -172,13 +172,13 @@
"0xffffb40e060893d8": {
"state": "ON",
"led_brightness": 100,
"voltage": 120.4,
"voltage": 120.6,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"energy": 3.12,
"power_on_behavior": "on",
"linkquality": 87,
"current": 0.02,
"current": 0.03,
"ac_frequency": 60,
"update": {
"state": "idle",
@@ -187,7 +187,7 @@
"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.07,
"power_factor": 0.16,
"power": 0.1
},
"0xa4c1380d0679ffff": {
@@ -205,7 +205,7 @@
"linkquality": 76
},
"0xffffb40e0606234b": {
"contact": true,
"contact": false,
"battery_low": false,
"battery": 100,
"linkquality": 91,
@@ -245,7 +245,7 @@
},
"0xb40e060fffe717c5": {
"battery": 100,
"occupancy": true,
"occupancy": false,
"tamper": false,
"battery_low": false,
"linkquality": 72,