This commit is contained in:
Home Assistant Version Control
2026-08-27 14:27:52 +00:00
parent 62a5455b7b
commit 2dd3fda74f
3 changed files with 17 additions and 13 deletions
+2
View File
@@ -3022,3 +3022,5 @@
{"timestamp": "2026-08-27T14:26:18.973046+00:00", "tool_name": "ha_search", "parameters": {"query": "3D Printer Running", "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": 10098.578453063965, "success": true, "error_message": null, "response_size_bytes": 1129, "user_context": null} {"timestamp": "2026-08-27T14:26:18.973046+00:00", "tool_name": "ha_search", "parameters": {"query": "3D Printer Running", "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": 10098.578453063965, "success": true, "error_message": null, "response_size_bytes": 1129, "user_context": null}
{"timestamp": "2026-08-27T14:26:24.491030+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_running_playroom_light_basement_heat"}, "execution_time_ms": 67.17777252197266, "success": true, "error_message": null, "response_size_bytes": 1895, "user_context": null} {"timestamp": "2026-08-27T14:26:24.491030+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_running_playroom_light_basement_heat"}, "execution_time_ms": 67.17777252197266, "success": true, "error_message": null, "response_size_bytes": 1895, "user_context": null}
{"timestamp": "2026-08-27T14:26:28.589892+00:00", "tool_name": "ha_search", "parameters": {"query": "bedroom lamp", "domain_filter": "light", "area_filter": null, "search_types": null, "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": 258.47530364990234, "success": true, "error_message": null, "response_size_bytes": 915, "user_context": null} {"timestamp": "2026-08-27T14:26:28.589892+00:00", "tool_name": "ha_search", "parameters": {"query": "bedroom lamp", "domain_filter": "light", "area_filter": null, "search_types": null, "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": 258.47530364990234, "success": true, "error_message": null, "response_size_bytes": 915, "user_context": null}
{"timestamp": "2026-08-27T14:27:46.372646+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_printer_running_playroom_light_basement_heat", "python_transform": "for a in config['actions'][0]['choose'][0]['sequence']: \n if a.get('action') == 'light.turn_on' and a.get('target', {}).get('entity_id') == 'light.bedroom_lamp_2':\n a['data']['brightness_pct'] = 100", "config_hash": "d98f5b477b91ca56", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 47.675132751464844, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression raised at runtime: KeyError: 'data'\",\n \"suggestion\": \"Verify referenced keys/indices exist in the input\",\n \"suggestions\": [\n \"Verify referenced keys/indices exist in the input\",\n \"Check that types match (e.g. dict vs list operations)\",\n \"Use .get(key, default) to handle missing keys\",\n \"Expression: for a in config['actions'][0]['choose'][0]['sequence']: \\n if a.get('action') == 'light.turn_on' a...\",\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\": \"python_transform\",\n \"identifier\": \"automation.3d_printer_running_playroom_light_basement_heat\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-27T14:27:50.167704+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_printer_running_playroom_light_basement_heat", "python_transform": "for a in config['actions'][0]['choose'][0]['sequence']: \n if a.get('action') == 'light.turn_on' and a.get('target', {}).get('entity_id') == 'light.bedroom_lamp_2':\n a.setdefault('data', {})['brightness_pct'] = 100", "config_hash": "d98f5b477b91ca56", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 368.9446449279785, "success": true, "error_message": null, "response_size_bytes": 59998, "user_context": null}
+2
View File
@@ -3284,6 +3284,8 @@
- action: light.turn_on - action: light.turn_on
target: target:
entity_id: light.bedroom_lamp_2 entity_id: light.bedroom_lamp_2
data:
brightness_pct: 100
- action: climate.set_temperature - action: climate.set_temperature
target: target:
entity_id: climate.basement entity_id: climate.basement
+13 -13
View File
@@ -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": 1.9, "power": 2.6,
"current": 0.1, "current": 0.1,
"energy": 33.68, "energy": 33.68,
"power_factor": 0.17, "power_factor": 0.17,
@@ -45,10 +45,10 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 121.3, "voltage": 121.2,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 67.72, "energy": 67.72,
"power_factor": 0.89, "power_factor": 0.2,
"ac_frequency": 60, "ac_frequency": 60,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -58,8 +58,8 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"linkquality": 120, "linkquality": 120,
"power": 83.5, "power": 0.2,
"current": 0.88, "current": 0.01,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe031e3": { "0xb40e060fffe031e3": {
@@ -74,7 +74,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,
"voltage": 121, "voltage": 120.5,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 137.21, "energy": 137.21,
@@ -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.8, "voltage": 120.3,
"energy": 65.4, "energy": 65.41,
"state": "ON", "state": "ON",
"power": 29.2, "power": 30,
"current": 0.41, "current": 0.41,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.6, "power_factor": 0.54,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -114,12 +114,12 @@
}, },
"0xffffb40e060895b3": { "0xffffb40e060895b3": {
"state": "ON", "state": "ON",
"voltage": 121.5, "voltage": 121,
"ac_frequency": 60, "ac_frequency": 60,
"energy": 9.07, "energy": 9.07,
"current": 0.01, "current": 0.01,
"power": 0.1, "power": 0.1,
"power_factor": 0.22, "power_factor": 0.1,
"linkquality": 120, "linkquality": 120,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -245,7 +245,7 @@
}, },
"0xb40e060fffe717c5": { "0xb40e060fffe717c5": {
"battery": 100, "battery": 100,
"occupancy": false, "occupancy": true,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 120, "linkquality": 120,