This commit is contained in:
Home Assistant Version Control
2026-08-10 04:48:06 +00:00
parent 3e5e9ab6a6
commit 257867ea79
3 changed files with 25 additions and 23 deletions
+2
View File
@@ -1075,3 +1075,5 @@
{"timestamp": "2026-08-10T01:24:34.356822+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_filament_daily", "sensor.octoprint_filament_weekly", "sensor.octoprint_filament_monthly", "sensor.octoprint_filament_used_total"], "fields": null, "attribute_keys": ["source", "cycle", "status", "last_period", "unit_of_measurement", "state_class"]}, "execution_time_ms": 46.82111740112305, "success": true, "error_message": null, "response_size_bytes": 2248, "user_context": null}
{"timestamp": "2026-08-10T04:45:11.675011+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_elapsed", "sensor.octoprint_time_left"], "fields": null, "attribute_keys": ["unit_of_measurement", "friendly_name", "device_class"]}, "execution_time_ms": 11.638402938842773, "success": true, "error_message": null, "response_size_bytes": 1282, "user_context": null}
{"timestamp": "2026-08-10T04:45:35.977201+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "for section in config['views'][0]['sections']:\n for card in section.get('cards', []):\n if card.get('name') == 'Elapsed':\n card['primary'] = \"Elapsed: {{ (states('sensor.octoprint_elapsed') | float(0) / 3600) | round(1) }} hr\"\n if card.get('name') == 'Remaining':\n card['primary'] = \"Remaining: {{ (states('sensor.octoprint_time_left') | float(0) / 3600) | round(1) }} hr\"", "config_hash": "55ba612ba3e8917f", "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.523195266723633, "success": true, "error_message": null, "response_size_bytes": 30505, "user_context": null}
{"timestamp": "2026-08-10T04:47:59.957291+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "for section in config['views'][0]['sections']:\n for card in section.get('cards', []):\n if card.get('name') == 'Elapsed':\n card['primary'] = \"{% set s = states('sensor.octoprint_elapsed') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Elapsed: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}\"\n if card.get('name') == 'Remaining':\n card['primary'] = \"{% set s = states('sensor.octoprint_time_left') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}\"", "config_hash": "c2f5e8cafc055d2c", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 7.243633270263672, "success": true, "error_message": null, "response_size_bytes": 1254, "user_context": null}
{"timestamp": "2026-08-10T04:48:05.138071+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set s = states('sensor.octoprint_elapsed') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Elapsed: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %} | {% set s = states('sensor.octoprint_time_left') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}", "timeout": 3, "report_errors": true}, "execution_time_ms": 52.23798751831055, "success": true, "error_message": null, "response_size_bytes": 540, "user_context": null}