.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -3729,3 +3729,4 @@
|
||||
{"timestamp": "2026-09-24T02:07:41.343724+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.sparkx_i7_used_material_length", "fields": ["entity_id", "state", "attributes"], "attribute_keys": null}, "execution_time_ms": 3.9353370666503906, "success": true, "error_message": null, "response_size_bytes": 600, "user_context": null}
|
||||
{"timestamp": "2026-09-24T02:22:36.975224+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "utility_meter", "name": null, "helper_id": "sparkx_i7_filament_weight_weekly", "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, "category": null, "config": {"name": "SparkX i7 Filament Weight Weekly", "source": "sensor.sparkx_i7_filament_weight_estimated", "cycle": "weekly"}, "wait": true, "action": null, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 30.170679092407227, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Config entry not found: sparkx_i7_filament_weight_weekly\",\n \"suggestion\": \"Check Home Assistant connection\",\n \"suggestions\": [\n \"Check Home Assistant connection\",\n \"Verify helper_id exists for update operations\",\n \"Ensure required parameters are provided for the helper type\",\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\": \"update\",\n \"helper_type\": \"utility_meter\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-09-24T02:27:05.530340+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "utility_meter", "name": null, "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, "category": null, "config": {"name": "SparkX i7 Filament Weight Weekly", "source": "sensor.sparkx_i7_filament_weight_estimated", "cycle": "weekly", "offset": {"days": 1}}, "wait": true, "action": null, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 240.62633514404297, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Helper validation failed \\u2014 offset: expected float\",\n \"suggestion\": \"Fix the field(s) listed in 'field_errors' and retry the call.\",\n \"suggestions\": [\n \"Fix the field(s) listed in 'field_errors' and retry the call.\",\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 \"flow_id\": \"01M38KSTGSD67HZQP89H4BP1KP\",\n \"status_code\": 400,\n \"helper_type\": \"utility_meter\",\n \"step_id\": \"user\",\n \"submitted_keys\": [\n \"cycle\",\n \"name\",\n \"offset\",\n \"source\"\n ],\n \"response_body\": {\n \"errors\": {\n \"offset\": \"expected float\"\n }\n },\n \"field_errors\": {\n \"offset\": \"expected float\"\n },\n \"data_schema\": [\n {\n \"selector\": {\n \"text\": {\n \"multiline\": false,\n \"multiple\": false\n }\n },\n \"name\": \"name\",\n \"required\": true\n },\n {\n \"selector\": {\n \"entity\": {\n \"domain\": [\n \"sensor\"\n ],\n \"multiple\": false,\n \"reorder\": false\n }\n },\n \"name\": \"source\",\n \"required\": true\n },\n {\n \"selector\": {\n \"select\": {\n \"options\": [\n \"none\",\n \"quarter-hourly\",\n \"hourly\",\n \"daily\",\n \"weekly\",\n \"monthly\",\n \"bimonthly\",\n \"quarterly\",\n \"yearly\"\n ],\n \"translation_key\": \"cycle\",\n \"multiple\": false,\n \"custom_value\": false,\n \"sort\": false\n }\n },\n \"name\": \"cycle\",\n \"required\": true\n },\n {\n \"selector\": {\n \"number\": {\n \"min\": 0.0,\n \"max\": 28.0,\n \"mode\": \"box\",\n \"unit_of_measurement\": \"days\",\n \"translation_key\": \"offset\",\n \"step\": 1.0\n }\n },\n \"name\": \"offset\",\n \"required\": true,\n \"default\": 0\n },\n {\n \"selector\": {\n \"select\": {\n \"options\": [],\n \"custom_value\": true,\n \"multiple\": true,\n \"sort\": false\n }\n },\n \"name\": \"tariffs\",\n \"required\": true,\n \"default\": []\n },\n {\n \"selector\": {\n \"boolean\": {}\n },\n \"name\": \"net_consumption\",\n \"required\": true,\n \"default\": false\n },\n {\n \"selector\": {\n \"boolean\": {}\n },\n \"name\": \"delta_values\",\n \"required\": true,\n \"default\": false\n },\n {\n \"selector\": {\n \"boolean\": {}\n },\n \"name\": \"periodically_resetting\",\n \"required\": true,\n \"default\": true\n },\n {\n \"selector\": {\n \"boolean\": {}\n },\n \"name\": \"always_available\",\n \"required\": false,\n \"optional\": true,\n \"default\": false\n }\n ]\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-09-24T02:28:00.825394+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "input_number", "name": null, "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, "category": null, "config": {"name": "SparkX i7 Filament g/cm", "min": 0.001, "max": 0.2, "step": 0.0001, "mode": "box", "unit_of_measurement": "g/cm", "icon": "mdi:weight-gram", "initial": 0.0298}, "wait": true, "action": "create", "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 0.3249645233154297, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_INVALID_PARAMETER\",\n \"message\": \"The 'config' parameter is only valid for flow-based helper types. For 'input_number', use the explicit parameters (name, options, min_value, etc.).\",\n \"suggestion\": \"Pass values for 'input_number' via explicit parameters (e.g. options=..., min_value=...)\",\n \"suggestions\": [\n \"Pass values for 'input_number' via explicit parameters (e.g. options=..., min_value=...)\",\n \"For flow-based types (template, group, utility_meter, ...), use 'config' as a dict or JSON string\",\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 \"helper_type\": \"input_number\",\n \"data_schema\": [\n {\n \"name\": \"name\",\n \"required\": true,\n \"selector\": {\n \"text\": {}\n },\n \"description\": \"Display name.\"\n },\n {\n \"name\": \"min_value\",\n \"required\": false,\n \"selector\": {\n \"number\": {}\n },\n \"description\": \"Minimum value. Also accepts shorthand `min`. HA defaults if omitted but supplying both bounds is recommended.\"\n },\n {\n \"name\": \"max_value\",\n \"required\": false,\n \"selector\": {\n \"number\": {}\n },\n \"description\": \"Maximum value. Also accepts shorthand `max`.\"\n },\n {\n \"name\": \"step\",\n \"required\": false,\n \"selector\": {\n \"number\": {}\n },\n \"description\": \"Step/increment. Must be > 0 and \\u2264 (max-min). Default 1.0.\"\n },\n {\n \"name\": \"unit_of_measurement\",\n \"required\": false,\n \"selector\": {\n \"text\": {}\n },\n \"description\": \"Unit string (e.g. '\\u00b0C'). Also accepts `unit`.\"\n },\n {\n \"name\": \"mode\",\n \"required\": false,\n \"selector\": {\n \"select\": {\n \"options\": [\n \"box\",\n \"slider\"\n ]\n }\n },\n \"description\": \"Default 'slider'.\"\n },\n {\n \"name\": \"initial\",\n \"required\": false,\n \"selector\": {\n \"number\": {}\n },\n \"description\": \"When set \\u2014 even to false/0 \\u2014 disables last-state restore and forces this value on every HA restart. Omit unless you want the helper to reset to this value on every restart instead of restoring its last state.\"\n },\n {\n \"name\": \"icon\",\n \"required\": false,\n \"selector\": {\n \"text\": {}\n }\n }\n ]\n}", "response_size_bytes": null, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user