.ha_mcp/logs/mcp_usage.jsonl, scripts.yaml
This commit is contained in:
@@ -429,3 +429,7 @@
|
||||
{"timestamp": "2026-08-02T17:06:36.900298+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "input_text", "service": "set_value", "entity_id": "input_text.office_lamp_previous_color", "data": {"value": "255,0,0", "entity_id": "input_text.office_lamp_previous_color"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 12.71367073059082, "success": true, "error_message": null, "response_size_bytes": 519, "user_context": null}
|
||||
{"timestamp": "2026-08-02T17:06:41.176989+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "script", "service": "test_rgb_restore", "entity_id": "script.test_rgb_restore", "data": {}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 95.95847129821777, "success": true, "error_message": null, "response_size_bytes": 601, "user_context": null}
|
||||
{"timestamp": "2026-08-02T17:06:44.244635+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "light.office_lamp", "fields": ["state", "attributes"], "attribute_keys": ["rgb_color", "color_mode", "brightness", "color_temp_kelvin"]}, "execution_time_ms": 6.158351898193359, "success": true, "error_message": null, "response_size_bytes": 474, "user_context": null}
|
||||
{"timestamp": "2026-08-02T17:07:08.209131+00:00", "tool_name": "ha_config_remove_script", "parameters": {"script_id": "test_rgb_restore", "wait": true}, "execution_time_ms": 91.55130386352539, "success": true, "error_message": null, "response_size_bytes": 110, "user_context": null}
|
||||
{"timestamp": "2026-08-02T17:07:08.745703+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "light", "service": "turn_on", "entity_id": "light.office_lamp", "data": {"color_temp_kelvin": 5586, "brightness": 230, "entity_id": "light.office_lamp"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 166.72110557556152, "success": true, "error_message": null, "response_size_bytes": 676, "user_context": null}
|
||||
{"timestamp": "2026-08-02T17:07:09.013903+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "input_text", "service": "set_value", "entity_id": "input_text.office_lamp_previous_color", "data": {"value": "", "entity_id": "input_text.office_lamp_previous_color"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 13.116121292114258, "success": true, "error_message": null, "response_size_bytes": 498, "user_context": null}
|
||||
{"timestamp": "2026-08-02T17:07:09.291991+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.ikea_bilresa_e2489_dual_button_matter"}, "execution_time_ms": 92.4692153930664, "success": true, "error_message": null, "response_size_bytes": 950, "user_context": null}
|
||||
|
||||
@@ -240,12 +240,3 @@ light_color_temp_helper:
|
||||
name: Mode
|
||||
description: Select switch mode
|
||||
description: "Switch color temperature of light in steps \nVersion: 2026-03-22"
|
||||
test_rgb_restore:
|
||||
alias: TEMP Test RGB Restore
|
||||
sequence:
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.office_lamp
|
||||
data:
|
||||
rgb_color: '{{ states(''input_text.office_lamp_previous_color'').split('','')
|
||||
| map(''int'') | list }}'
|
||||
|
||||
Reference in New Issue
Block a user