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

This commit is contained in:
Home Assistant Version Control
2026-08-26 06:02:33 +00:00
parent c577bc3888
commit db7bf0da43
2 changed files with 22 additions and 21 deletions
+1
View File
@@ -2407,3 +2407,4 @@
{"timestamp": "2026-08-26T05:56:55.894009+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "3D Printer Light - Toggle from Boolean", "description": "Turns 3D printer light on/off when input_boolean.3d_printer_light is toggled", "triggers": [{"trigger": "state", "entity_id": "input_boolean.3d_printer_light"}], "actions": [{"if": [{"condition": "state", "entity_id": "input_boolean.3d_printer_light", "state": "on"}], "then": [{"action": "light.turn_on", "target": {"entity_id": "[REDACTED]"}, "data": {}}], "else": [{"action": "light.turn_off", "target": {"entity_id": "[REDACTED]"}, "data": {}}]}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1126.3349056243896, "success": true, "error_message": null, "response_size_bytes": 219, "user_context": null} {"timestamp": "2026-08-26T05:56:55.894009+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "3D Printer Light - Toggle from Boolean", "description": "Turns 3D printer light on/off when input_boolean.3d_printer_light is toggled", "triggers": [{"trigger": "state", "entity_id": "input_boolean.3d_printer_light"}], "actions": [{"if": [{"condition": "state", "entity_id": "input_boolean.3d_printer_light", "state": "on"}], "then": [{"action": "light.turn_on", "target": {"entity_id": "[REDACTED]"}, "data": {}}], "else": [{"action": "light.turn_off", "target": {"entity_id": "[REDACTED]"}, "data": {}}]}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1126.3349056243896, "success": true, "error_message": null, "response_size_bytes": 219, "user_context": null}
{"timestamp": "2026-08-26T05:57:35.539979+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "3D Printer Light - Sync Boolean", "description": "Syncs input_boolean.3d_printer_light when 3D printer light is toggled manually", "triggers": [{"trigger": "state", "entity_id": "light.3d_printer_lights"}], "conditions": [{"condition": "template", "value_template": "{{ is_state('input_boolean.3d_printer_light', 'on') != is_state('light.3d_printer_lights', 'on') }}"}], "actions": [{"if": [{"condition": "state", "entity_id": "light.3d_printer_lights", "state": "on"}], "then": [{"action": "input_boolean.turn_on", "target": {"entity_id": "[REDACTED]"}, "data": {}}], "else": [{"action": "input_boolean.turn_off", "target": {"entity_id": "[REDACTED]"}, "data": {}}]}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 701.0107040405273, "success": true, "error_message": null, "response_size_bytes": 5030, "user_context": null} {"timestamp": "2026-08-26T05:57:35.539979+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "3D Printer Light - Sync Boolean", "description": "Syncs input_boolean.3d_printer_light when 3D printer light is toggled manually", "triggers": [{"trigger": "state", "entity_id": "light.3d_printer_lights"}], "conditions": [{"condition": "template", "value_template": "{{ is_state('input_boolean.3d_printer_light', 'on') != is_state('light.3d_printer_lights', 'on') }}"}], "actions": [{"if": [{"condition": "state", "entity_id": "light.3d_printer_lights", "state": "on"}], "then": [{"action": "input_boolean.turn_on", "target": {"entity_id": "[REDACTED]"}, "data": {}}], "else": [{"action": "input_boolean.turn_off", "target": {"entity_id": "[REDACTED]"}, "data": {}}]}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 701.0107040405273, "success": true, "error_message": null, "response_size_bytes": 5030, "user_context": null}
{"timestamp": "2026-08-26T05:58:00.647642+00:00", "tool_name": "ha_search", "parameters": {"query": "3d_printer", "domain_filter": null, "area_filter": null, "search_types": ["automation"], "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": 11269.513130187988, "success": true, "error_message": null, "response_size_bytes": 1672, "user_context": null} {"timestamp": "2026-08-26T05:58:00.647642+00:00", "tool_name": "ha_search", "parameters": {"query": "3d_printer", "domain_filter": null, "area_filter": null, "search_types": ["automation"], "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": 11269.513130187988, "success": true, "error_message": null, "response_size_bytes": 1672, "user_context": null}
{"timestamp": "2026-08-26T06:02:27.207512+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": 2.1131038665771484, "success": true, "error_message": null, "response_size_bytes": 1871, "user_context": null}
+21 -21
View File
@@ -16,13 +16,13 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"power": 0.5, "power": 0.5,
"linkquality": 98, "linkquality": 76,
"current": 0.03, "current": 0.03,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xffffb40e0607af27": { "0xffffb40e0607af27": {
"state": "ON", "state": "ON",
"voltage": 123.5, "voltage": 124,
"ac_frequency": 60, "ac_frequency": 60,
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
@@ -30,7 +30,7 @@
"power": 2.4, "power": 2.4,
"current": 0.1, "current": 0.1,
"energy": 32.98, "energy": 32.98,
"power_factor": 0.17, "power_factor": 0.18,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -38,7 +38,7 @@
"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
}, },
"linkquality": 80, "linkquality": 83,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xffffb40e0607aee8": { "0xffffb40e0607aee8": {
@@ -67,20 +67,20 @@
"contact": false, "contact": false,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 105, "linkquality": 112,
"voltage": 3100 "voltage": 3100
}, },
"0xffffb40e060762a4": { "0xffffb40e060762a4": {
"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": 122.2, "voltage": 122.9,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 134.81, "energy": 134.81,
"power": 94.7, "power": 0.8,
"current": 0.85, "current": 0.02,
"power_factor": 0.98, "power_factor": 0.37,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -88,7 +88,7 @@
"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
}, },
"linkquality": 87, "linkquality": 91,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xffffb40e0607b680": { "0xffffb40e0607b680": {
@@ -98,10 +98,10 @@
"voltage": 123.7, "voltage": 123.7,
"energy": 64.39, "energy": 64.39,
"state": "ON", "state": "ON",
"power": 18.5, "power": 26.6,
"current": 0.29, "current": 0.37,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.53, "power_factor": 0.55,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -114,13 +114,13 @@
}, },
"0xffffb40e060895b3": { "0xffffb40e060895b3": {
"state": "ON", "state": "ON",
"voltage": 123.5, "voltage": 123.7,
"ac_frequency": 60, "ac_frequency": 60,
"energy": 8.91, "energy": 8.91,
"current": 0.01, "current": 0.01,
"power": 0.1, "power": 0.1,
"power_factor": 0.22, "power_factor": 0.22,
"linkquality": 69, "linkquality": 76,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -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.2, "power_factor": 0.14,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -151,7 +151,7 @@
"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
}, },
"linkquality": 80, "linkquality": 87,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe2d218": { "0xb40e060fffe2d218": {
@@ -177,7 +177,7 @@
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 3.73, "energy": 3.73,
"power_on_behavior": "on", "power_on_behavior": "on",
"linkquality": 112, "linkquality": 131,
"current": 0.09, "current": 0.09,
"ac_frequency": 60, "ac_frequency": 60,
"update": { "update": {
@@ -208,7 +208,7 @@
"contact": true, "contact": true,
"battery_low": false, "battery_low": false,
"battery": 100, "battery": 100,
"linkquality": 80, "linkquality": 94,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 36, "installed_version": 36,
@@ -248,7 +248,7 @@
"occupancy": false, "occupancy": false,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 120, "linkquality": 116,
"voltage": 3100, "voltage": 3100,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -263,7 +263,7 @@
"occupancy": false, "occupancy": false,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 98, "linkquality": 87,
"voltage": 3100, "voltage": 3100,
"update": { "update": {
"state": "idle", "state": "idle",