This commit is contained in:
Home Assistant Version Control
2026-08-07 16:03:29 +00:00
parent 8803aec3e5
commit 7a19a541cf
3 changed files with 19 additions and 26 deletions
+2
View File
@@ -866,3 +866,5 @@
{"timestamp": "2026-08-07T16:01:23.706541+00:00", "tool_name": "ha_search", "parameters": {"query": "sensor.octoprint_approximate_total_print_time", "domain_filter": null, "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": 14888.220071792603, "success": true, "error_message": null, "response_size_bytes": 1268, "user_context": null} {"timestamp": "2026-08-07T16:01:23.706541+00:00", "tool_name": "ha_search", "parameters": {"query": "sensor.octoprint_approximate_total_print_time", "domain_filter": null, "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": 14888.220071792603, "success": true, "error_message": null, "response_size_bytes": 1268, "user_context": null}
{"timestamp": "2026-08-07T16:02:14.970653+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "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.2318363189697266, "success": true, "error_message": null, "response_size_bytes": 9125, "user_context": null} {"timestamp": "2026-08-07T16:02:14.970653+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "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.2318363189697266, "success": true, "error_message": null, "response_size_bytes": 9125, "user_context": null}
{"timestamp": "2026-08-07T16:02:38.844913+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_total_print_time'; del config['views'][0]['sections'][1]['cards'][6]", "config_hash": "d1daab8447c64fec", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 15.743255615234375, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Forbidden node type: Assert\",\n \"suggestion\": \"Check expression syntax\",\n \"suggestions\": [\n \"Check expression syntax\",\n \"Ensure only allowed operations are used\",\n \"See tool description for allowed operations\",\n \"Expression: assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_...\",\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 \"url_path\": \"printer-stats\"\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-08-07T16:02:38.844913+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_total_print_time'; del config['views'][0]['sections'][1]['cards'][6]", "config_hash": "d1daab8447c64fec", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 15.743255615234375, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Forbidden node type: Assert\",\n \"suggestion\": \"Check expression syntax\",\n \"suggestions\": [\n \"Check expression syntax\",\n \"Ensure only allowed operations are used\",\n \"See tool description for allowed operations\",\n \"Expression: assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_...\",\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 \"url_path\": \"printer-stats\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-07T16:02:47.158307+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'] = [c for c in config['views'][0]['sections'][1]['cards'] if c.get('entity') != 'sensor.octoprint_approximate_total_print_time']", "config_hash": "d1daab8447c64fec", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 12.241840362548828, "success": true, "error_message": null, "response_size_bytes": 30238, "user_context": null}
{"timestamp": "2026-08-07T16:03:22.442903+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "print", "mode": null, "query": null}, "execution_time_ms": 4.470348358154297, "success": true, "error_message": null, "response_size_bytes": 5996, "user_context": null}
-9
View File
@@ -135,15 +135,6 @@
"columns": 6 "columns": 6
} }
}, },
{
"type": "tile",
"entity": "sensor.octoprint_approximate_total_print_time",
"name": "Total Est.",
"icon": "mdi:timer-outline",
"grid_options": {
"columns": 6
}
},
{ {
"type": "sensor", "type": "sensor",
"entity": "sensor.octoprint_print_progress", "entity": "sensor.octoprint_print_progress",
+17 -17
View File
@@ -29,7 +29,7 @@
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"power": 3.9, "power": 3.9,
"current": 0.13, "current": 0.13,
"energy": 26.88, "energy": 26.89,
"power_factor": 0.25, "power_factor": 0.25,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -48,7 +48,7 @@
"voltage": 120.2, "voltage": 120.2,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 50.32, "energy": 50.32,
"power_factor": 0.2, "power_factor": 0.89,
"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": 134, "linkquality": 134,
"power": 83.4, "power": 92.1,
"current": 0.82, "current": 0.88,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe031e3": { "0xb40e060fffe031e3": {
@@ -74,13 +74,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": 119.5, "voltage": 119.3,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 102.5, "energy": 102.51,
"power": 3.8, "power": 102.3,
"current": 0.05, "current": 0.92,
"power_factor": 0.67, "power_factor": 0.95,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -95,11 +95,11 @@
"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.2, "voltage": 120.1,
"energy": 43.84, "energy": 43.84,
"state": "ON", "state": "ON",
"power": 84.4, "power": 79.1,
"current": 0.89, "current": 0.83,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.76, "power_factor": 0.76,
"update": { "update": {
@@ -119,7 +119,7 @@
"energy": 6.33, "energy": 6.33,
"current": 0.01, "current": 0.01,
"power": 0.2, "power": 0.2,
"power_factor": 0.11, "power_factor": 0.13,
"linkquality": 123, "linkquality": 123,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -136,14 +136,14 @@
"0xffffb40e0608864e": { "0xffffb40e0608864e": {
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 121, "voltage": 120.8,
"energy": 17.34, "energy": 17.34,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"state": "ON", "state": "ON",
"current": 0.02, "current": 0.02,
"ac_frequency": 60, "ac_frequency": 60,
"power": 0.3, "power": 0.3,
"power_factor": 0.14, "power_factor": 0.2,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -187,12 +187,12 @@
"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
}, },
"power_factor": 0.12, "power_factor": 0.08,
"power": 0.1 "power": 0.1
}, },
"0xa4c1380d0679ffff": { "0xa4c1380d0679ffff": {
"battery": 100, "battery": 100,
"temperature": 27.4, "temperature": 27.5,
"temperature_units": "celsius", "temperature_units": "celsius",
"temperature_calibration": 0, "temperature_calibration": 0,
"update": { "update": {