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

This commit is contained in:
Home Assistant Version Control
2026-08-07 21:58:57 +00:00
parent bbbfb75594
commit 49008d7962
2 changed files with 20 additions and 18 deletions
+2
View File
@@ -874,3 +874,5 @@
{"timestamp": "2026-08-07T16:05:43.063943+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'].insert(5, {'type': 'markdown', 'content': \"**Time remaining:** {{ (states('sensor.octoprint_time_left') | int(0) // 3600) }}h {{ ((states('sensor.octoprint_time_left') | int(0) % 3600) // 60) }}m\\n\\n**Est. finish (local):** {{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}\", 'grid_options': {'columns': 6}})", "config_hash": "3e27da5eab808f88", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 13.257503509521484, "success": true, "error_message": null, "response_size_bytes": 1034, "user_context": null} {"timestamp": "2026-08-07T16:05:43.063943+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'].insert(5, {'type': 'markdown', 'content': \"**Time remaining:** {{ (states('sensor.octoprint_time_left') | int(0) // 3600) }}h {{ ((states('sensor.octoprint_time_left') | int(0) % 3600) // 60) }}m\\n\\n**Est. finish (local):** {{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}\", 'grid_options': {'columns': 6}})", "config_hash": "3e27da5eab808f88", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 13.257503509521484, "success": true, "error_message": null, "response_size_bytes": 1034, "user_context": null}
{"timestamp": "2026-08-07T16:06:55.517335+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'][5]['content'] = \"**Est. finish (local):** {{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}\"", "config_hash": "a7a10cf711ea93f1", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 13.46731185913086, "success": true, "error_message": null, "response_size_bytes": 804, "user_context": null} {"timestamp": "2026-08-07T16:06:55.517335+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'][5]['content'] = \"**Est. finish (local):** {{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}\"", "config_hash": "a7a10cf711ea93f1", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 13.46731185913086, "success": true, "error_message": null, "response_size_bytes": 804, "user_context": null}
{"timestamp": "2026-08-07T16:07:26.253195+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'][5]['content'] = \"**Est. finish:** {{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}\"", "config_hash": "fc33ba9823a5bcd7", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 10.766744613647461, "success": true, "error_message": null, "response_size_bytes": 796, "user_context": null} {"timestamp": "2026-08-07T16:07:26.253195+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'][5]['content'] = \"**Est. finish:** {{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}\"", "config_hash": "fc33ba9823a5bcd7", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 10.766744613647461, "success": true, "error_message": null, "response_size_bytes": 796, "user_context": null}
{"timestamp": "2026-08-07T21:58:51.993367+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": true, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 30.816316604614258, "success": true, "error_message": null, "response_size_bytes": 1694, "user_context": null}
{"timestamp": "2026-08-07T21:58:55.026853+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": "octoprint", "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 2.1622180938720703, "success": true, "error_message": null, "response_size_bytes": 384, "user_context": null}
+18 -18
View File
@@ -4,7 +4,7 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 120.5, "voltage": 121,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.14, "power_factor": 0.14,
@@ -27,7 +27,7 @@
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"power": 2.1, "power": 2.7,
"current": 0.12, "current": 0.12,
"energy": 26.94, "energy": 26.94,
"power_factor": 0.17, "power_factor": 0.17,
@@ -45,7 +45,7 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 120, "voltage": 120.5,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 50.5, "energy": 50.5,
"power_factor": 0.2, "power_factor": 0.2,
@@ -58,8 +58,8 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"linkquality": 134, "linkquality": 134,
"power": 83.8, "power": 8.6,
"current": 0.92, "current": 0.23,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe031e3": { "0xb40e060fffe031e3": {
@@ -74,12 +74,12 @@
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"voltage": 119.3, "voltage": 117.5,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 102.85, "energy": 102.85,
"power": 96.8, "power": 97.6,
"current": 0.9, "current": 0.85,
"power_factor": 0.94, "power_factor": 0.94,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -95,13 +95,13 @@
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"voltage": 120, "voltage": 120.5,
"energy": 44.18, "energy": 44.18,
"state": "ON", "state": "ON",
"power": 42.6, "power": 65.5,
"current": 0.45, "current": 0.73,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.8, "power_factor": 0.76,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -114,12 +114,12 @@
}, },
"0xffffb40e060895b3": { "0xffffb40e060895b3": {
"state": "ON", "state": "ON",
"voltage": 120.7, "voltage": 121.2,
"ac_frequency": 60, "ac_frequency": 60,
"energy": 6.35, "energy": 6.35,
"current": 0.01, "current": 0.01,
"power": 0.1, "power": 0.1,
"power_factor": 0.11, "power_factor": 0.22,
"linkquality": 123, "linkquality": 123,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -143,7 +143,7 @@
"current": 0.02, "current": 0.02,
"ac_frequency": 60, "ac_frequency": 60,
"power": 0.4, "power": 0.4,
"power_factor": 0.14, "power_factor": 0.2,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -187,8 +187,8 @@
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota", "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 "latest_release_notes": null
}, },
"power_factor": 0, "power_factor": 0.22,
"power": 0.2 "power": 0.1
}, },
"0xa4c1380d0679ffff": { "0xa4c1380d0679ffff": {
"battery": 100, "battery": 100,
@@ -205,7 +205,7 @@
"linkquality": 76 "linkquality": 76
}, },
"0xffffb40e0606234b": { "0xffffb40e0606234b": {
"contact": true, "contact": false,
"battery_low": false, "battery_low": false,
"battery": 100, "battery": 100,
"linkquality": 91, "linkquality": 91,