.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-10-16 18:49:21 +00:00
parent 7176862bd9
commit e198fef3bb
+4
View File
@@ -4717,3 +4717,7 @@
{"timestamp": "2026-10-16T18:36:26.267818+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.spoolman_spool_10", "sensor.spoolman_spool_4", "sensor.spoolman_spool_5", "sensor.spoolman_spool_8", "sensor.sparkx_i7_slot_1_color_name", "sensor.sparkx_i7_slot_2_color_name", "sensor.sparkx_i7_slot_3_color_name", "sensor.sparkx_i7_slot_4_color_name"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": null}, "execution_time_ms": 4.210472106933594, "success": true, "error_message": null, "response_size_bytes": 6820, "user_context": null}
{"timestamp": "2026-10-16T18:38:24.025052+00:00", "tool_name": "ha_config_list_helpers", "parameters": {"helper_type": "template", "limit": 100, "offset": 0, "describe": true, "menu_choice": "sensor", "helper_id": null}, "execution_time_ms": 62.575578689575195, "success": true, "error_message": null, "response_size_bytes": 1919, "user_context": null}
{"timestamp": "2026-10-16T18:48:46.706103+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "CFS Lite 1 Remaining", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "pattern": null, "category": null, "config": {"next_step_id": "sensor", "state": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 1') | selectattr('state','is_number') | map(attribute='state') | map('float',-1) | select('gt',-1) | list | first) }}", "unit_of_measurement": "g", "device_class": "weight", "state_class": "measurement", "additional_options": {"availability": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 1') | selectattr('state','is_number') | list | count) > 0 }}"}}, "wait": true, "action": "create", "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 104.76088523864746, "success": true, "error_message": null, "response_size_bytes": 53371, "user_context": null}
{"timestamp": "2026-10-16T18:49:15.385084+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "CFS Lite 3 Remaining", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "pattern": null, "category": null, "config": {"additional_options": {"availability": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 3') | selectattr('state','is_number') | list | count) > 0 }}"}, "device_class": "weight", "next_step_id": "sensor", "state": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 3') | selectattr('state','is_number') | map(attribute='state') | map('float',-1) | select('gt',-1) | list | first) }}", "state_class": "measurement", "unit_of_measurement": "g"}, "wait": true, "action": "create", "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 226.18532180786133, "success": true, "error_message": null, "response_size_bytes": 53371, "user_context": null}
{"timestamp": "2026-10-16T18:49:15.457959+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "CFS Lite 2 Remaining", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "pattern": null, "category": null, "config": {"additional_options": {"availability": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 2') | selectattr('state','is_number') | list | count) > 0 }}"}, "device_class": "weight", "next_step_id": "sensor", "state": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 2') | selectattr('state','is_number') | map(attribute='state') | map('float',-1) | select('gt',-1) | list | first) }}", "state_class": "measurement", "unit_of_measurement": "g"}, "wait": true, "action": "create", "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 298.295259475708, "success": true, "error_message": null, "response_size_bytes": 53371, "user_context": null}
{"timestamp": "2026-10-16T18:49:15.461015+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "CFS Lite 4 Remaining", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "pattern": null, "category": null, "config": {"additional_options": {"availability": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 4') | selectattr('state','is_number') | list | count) > 0 }}"}, "device_class": "weight", "next_step_id": "sensor", "state": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 4') | selectattr('state','is_number') | map(attribute='state') | map('float',-1) | select('gt',-1) | list | first) }}", "state_class": "measurement", "unit_of_measurement": "g"}, "wait": true, "action": "create", "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 298.4471321105957, "success": true, "error_message": null, "response_size_bytes": 53371, "user_context": null}
{"timestamp": "2026-10-16T18:49:18.630739+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.cfs_lite_1_remaining", "sensor.cfs_lite_2_remaining", "sensor.cfs_lite_3_remaining", "sensor.cfs_lite_4_remaining"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["unit_of_measurement", "device_class", "state_class", "friendly_name"]}, "execution_time_ms": 291.9752597808838, "success": true, "error_message": null, "response_size_bytes": 1340, "user_context": null}