This commit is contained in:
Home Assistant Version Control
2026-09-07 15:11:27 +00:00
parent cc25bdfaa6
commit 6bd5357764
3 changed files with 15 additions and 11 deletions
+2
View File
@@ -3603,3 +3603,5 @@
{"timestamp": "2026-09-07T15:05:14.424920+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": 116.60170555114746, "success": true, "error_message": null, "response_size_bytes": 11231, "user_context": null}
{"timestamp": "2026-09-07T15:05:56.223400+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'].insert(6, {\"type\": \"custom:mushroom-template-card\", \"primary\": \"{% set c = states('sensor.octoprint_height_progress_clean') | float(0) %}{% set t = state_attr('sensor.octoprint_height_progress_clean', 'total') | float(0) %}Height: {{ c }} of {{ t }} mm\", \"name\": \"Height\", \"icon\": \"mdi:axis-z-arrow\", \"grid_options\": {\"columns\": 6}})", "config_hash": "5b425acc2f49c586", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 84.7630500793457, "success": true, "error_message": null, "response_size_bytes": 30603, "user_context": null}
{"timestamp": "2026-09-07T15:07:15.350102+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": 37.55688667297363, "success": true, "error_message": null, "response_size_bytes": 11555, "user_context": null}
{"timestamp": "2026-09-07T15:11:20.935596+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "c = config['views'][0]['sections'][1]['cards'][6]; c.update({\"primary\": \"Height\", \"secondary\": \"{% set c = states('sensor.octoprint_height_progress_clean') | float(0) %}{% set t = state_attr('sensor.octoprint_height_progress_clean', 'total') | float(0) %}{{ c }} of {{ t }} mm\", \"multiline_secondary\": True})", "config_hash": "109d43d82a313a01", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 23.666858673095703, "success": true, "error_message": null, "response_size_bytes": 905, "user_context": null}
{"timestamp": "2026-09-07T15:11:23.040577+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": 10.472297668457031, "success": true, "error_message": null, "response_size_bytes": 11599, "user_context": null}
+4 -2
View File
@@ -162,12 +162,14 @@
},
{
"type": "custom:mushroom-template-card",
"primary": "{% set c = states('sensor.octoprint_height_progress_clean') | float(0) %}{% set t = state_attr('sensor.octoprint_height_progress_clean', 'total') | float(0) %}Height: {{ c }} of {{ t }} mm",
"primary": "Height",
"name": "Height",
"icon": "mdi:axis-z-arrow",
"grid_options": {
"columns": 6
}
},
"secondary": "{% set c = states('sensor.octoprint_height_progress_clean') | float(0) %}{% set t = state_attr('sensor.octoprint_height_progress_clean', 'total') | float(0) %}{{ c }} of {{ t }} mm",
"multiline_secondary": true
},
{
"type": "tile",
+9 -9
View File
@@ -47,7 +47,7 @@
"countdown_to_turn_off": 0,
"voltage": 118.8,
"countdown_to_turn_on": 0,
"energy": 76.53,
"energy": 76.54,
"power_factor": 0.9,
"ac_frequency": 60,
"update": {
@@ -58,8 +58,8 @@
"latest_release_notes": null
},
"linkquality": 98,
"power": 104.4,
"current": 0.96,
"power": 85.1,
"current": 0.81,
"power_on_behavior": "on"
},
"0xb40e060fffe031e3": {
@@ -77,8 +77,8 @@
"voltage": 118.3,
"state": "ON",
"ac_frequency": 60,
"energy": 155.55,
"power": 99.9,
"energy": 155.56,
"power": 99.1,
"current": 0.92,
"power_factor": 0.93,
"update": {
@@ -96,10 +96,10 @@
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 117.8,
"energy": 75.88,
"energy": 75.89,
"state": "ON",
"power": 72.9,
"current": 0.66,
"power": 57.6,
"current": 0.61,
"ac_frequency": 60,
"power_factor": 0.77,
"update": {
@@ -143,7 +143,7 @@
"current": 0.02,
"ac_frequency": 60,
"power": 0.3,
"power_factor": 0.14,
"power_factor": 0.2,
"update": {
"state": "idle",
"installed_version": 268513381,