This commit is contained in:
Home Assistant Version Control committed 2026-10-08 16:48:12 +00:00
1 parent 1cf6531c96
commit 291f0ee7bc
3 files changed
+1027

No files matched your search

+1
View File
@@ -3964,3 +3964,4 @@
{"timestamp": "2026-10-08T16:42:57.666015+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "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": 14.811515808105469, "success": true, "error_message": null, "response_size_bytes": 21368, "user_context": null}
{"timestamp": "2026-10-08T16:44:33.384625+00:00", "tool_name": "ha_search", "parameters": {"query": "spoolman", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 40, "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": 179.58760261535645, "success": true, "error_message": null, "response_size_bytes": 6430, "user_context": null}
{"timestamp": "2026-10-08T16:47:45.196926+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "sparkx-i7", "config": null, "python_transform": "config['views'].append({\"title\": \"Spoolman\", \"path\": \"spoolman\", \"icon\": \"mdi:package-variant-closed\", \"type\": \"sections\", \"max_columns\": 4, \"sections\": [{\"type\": \"grid\", \"cards\": [{\"type\": \"heading\", \"heading\": \"Overture Black ABS (Spool 1)\", \"icon\": \"mdi:spool\"}, {\"type\": \"gauge\", \"entity\": \"sensor.spoolman_spool_1\", \"name\": \"Remaining\", \"unit\": \"g\", \"min\": 0, \"max\": 1000, \"severity\": {\"red\": 0, \"yellow\": 300, \"green\": 600}, \"grid_options\": {\"columns\": 6, \"rows\": 3}}, {\"type\": \"custom:mushroom-template-card\", \"entity\": \"sensor.spoolman_spool_1_color_hex\", \"name\": \"Color\", \"icon\": \"mdi:palette\", \"icon_color\": \"{% set c = states('sensor.spoolman_spool_1_color_hex')|replace('#','')|lower %}{% if c|length == 6 %}#{{ c }}{% else %}var(--primary-text-color){% endif %}\", \"primary\": \"{{ states('sensor.spoolman_spool_1_color_hex') }}\", \"secondary\": \"{{ states('sensor.spoolman_spool_1_filament_name') }} · {{ states('sensor.spoolman_spool_1_material') }}\", \"multiline_secondary\": true, \"grid_options\": {\"columns\": 6}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_used_weight\", \"name\": \"Used Weight\", \"icon\": \"mdi:scale-balance\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_used_percentage\", \"name\": \"Used %\", \"icon\": \"mdi:chart-donut\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_remaining_length\", \"name\": \"Remaining Length\", \"icon\": \"mdi:ruler\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_used_length\", \"name\": \"Used Length\", \"icon\": \"mdi:ruler-square\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_spool_weight\", \"name\": \"Empty Spool Weight\", \"icon\": \"mdi:scale\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_filament_weight\", \"name\": \"Full Spool Weight\", \"icon\": \"mdi:weight-kilogram\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_vendor\", \"name\": \"Vendor\", \"icon\": \"mdi:factory\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_material\", \"name\": \"Material\", \"icon\": \"mdi:layers-triple\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_diameter\", \"name\": \"Diameter\", \"icon\": \"mdi:circle-outline\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_density\", \"name\": \"Density\", \"icon\": \"mdi:weight-gram\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_filament_name\", \"name\": \"Filament Name\", \"icon\": \"mdi:tag-outline\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"select.spoolman_spool_1_location\", \"name\": \"Location\", \"icon\": \"mdi:map-marker-outline\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_estimated_runout\", \"name\": \"Est. Runout\", \"icon\": \"mdi:calendar-alert\", \"grid_options\": {\"columns\": 6}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_registered\", \"name\": \"Registered\", \"icon\": \"mdi:calendar-check-outline\", \"grid_options\": {\"columns\": 6}}, {\"type\": \"tile\", \"entity\": \"binary_sensor.spoolman_spool_1_low_filament\", \"name\": \"Low Filament\", \"icon\": \"mdi:alert-circle-outline\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_flow_rate\", \"name\": \"Flow Rate\", \"icon\": \"mdi:progress-clock\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_id\", \"name\": \"Spool ID\", \"icon\": \"mdi:identifier\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"markdown\", \"content\": \"**Spoolman UI:** [http://2c829f0e-spoolman.local.hass.io:7912](http://2c829f0e-spoolman.local.hass.io:7912)\\n\\n**Changing filaments:** 1. Set the slot color in the CFS app. 2. Create the spool in Spoolman with a matching color hex. No Home Assistant changes needed — new spools appear here automatically.\", \"grid_options\": {\"columns\": \"full\"}}]}, {\"type\": \"grid\", \"cards\": [{\"type\": \"heading\", \"heading\": \"Adjust Remaining\", \"icon\": \"mdi:pencil-outline\"}, {\"type\": \"entities\", \"title\": \"Set value (g)\", \"show_header_toggle\": false, \"entities\": [\"input_number.spoolman_set_remaining\"], \"grid_options\": {\"columns\": 6}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1\", \"name\": \"Apply to Spool 1\", \"icon\": Line truncated
{"timestamp": "2026-10-08T16:48:06.255329+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "sparkx-i7", "config": null, "python_transform": "config['views'].append({\"title\": \"Spoolman\", \"path\": \"spoolman\", \"icon\": \"mdi:package-variant-closed\", \"type\": \"sections\", \"max_columns\": 4, \"sections\": [{\"type\": \"grid\", \"cards\": [{\"type\": \"heading\", \"heading\": \"Overture Black ABS (Spool 1)\", \"icon\": \"mdi:spool\"}, {\"type\": \"gauge\", \"entity\": \"sensor.spoolman_spool_1\", \"name\": \"Remaining\", \"unit\": \"g\", \"min\": 0, \"max\": 1000, \"severity\": {\"red\": 0, \"yellow\": 300, \"green\": 600}, \"grid_options\": {\"columns\": 6, \"rows\": 3}}, {\"type\": \"custom:mushroom-template-card\", \"entity\": \"sensor.spoolman_spool_1_color_hex\", \"name\": \"Color\", \"icon\": \"mdi:palette\", \"icon_color\": \"{% set c = states('sensor.spoolman_spool_1_color_hex')|replace('#','')|lower %}{% if c|length == 6 %}#{{ c }}{% else %}var(--primary-text-color){% endif %}\", \"primary\": \"{{ states('sensor.spoolman_spool_1_color_hex') }}\", \"secondary\": \"{{ states('sensor.spoolman_spool_1_filament_name') }} · {{ states('sensor.spoolman_spool_1_material') }}\", \"multiline_secondary\": True, \"grid_options\": {\"columns\": 6}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_used_weight\", \"name\": \"Used Weight\", \"icon\": \"mdi:scale-balance\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_used_percentage\", \"name\": \"Used %\", \"icon\": \"mdi:chart-donut\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_remaining_length\", \"name\": \"Remaining Length\", \"icon\": \"mdi:ruler\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_used_length\", \"name\": \"Used Length\", \"icon\": \"mdi:ruler-square\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_spool_weight\", \"name\": \"Empty Spool Weight\", \"icon\": \"mdi:scale\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_filament_weight\", \"name\": \"Full Spool Weight\", \"icon\": \"mdi:weight-kilogram\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_vendor\", \"name\": \"Vendor\", \"icon\": \"mdi:factory\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_material\", \"name\": \"Material\", \"icon\": \"mdi:layers-triple\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_diameter\", \"name\": \"Diameter\", \"icon\": \"mdi:circle-outline\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_density\", \"name\": \"Density\", \"icon\": \"mdi:weight-gram\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_filament_name\", \"name\": \"Filament Name\", \"icon\": \"mdi:tag-outline\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"select.spoolman_spool_1_location\", \"name\": \"Location\", \"icon\": \"mdi:map-marker-outline\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_estimated_runout\", \"name\": \"Est. Runout\", \"icon\": \"mdi:calendar-alert\", \"grid_options\": {\"columns\": 6}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_registered\", \"name\": \"Registered\", \"icon\": \"mdi:calendar-check-outline\", \"grid_options\": {\"columns\": 6}}, {\"type\": \"tile\", \"entity\": \"binary_sensor.spoolman_spool_1_low_filament\", \"name\": \"Low Filament\", \"icon\": \"mdi:alert-circle-outline\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_flow_rate\", \"name\": \"Flow Rate\", \"icon\": \"mdi:progress-clock\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1_id\", \"name\": \"Spool ID\", \"icon\": \"mdi:identifier\", \"grid_options\": {\"columns\": 4}}, {\"type\": \"markdown\", \"content\": \"**Spoolman UI:** [http://2c829f0e-spoolman.local.hass.io:7912](http://2c829f0e-spoolman.local.hass.io:7912)\\n\\n**Changing filaments:** 1. Set the slot color in the CFS app. 2. Create the spool in Spoolman with a matching color hex. No Home Assistant changes needed — new spools appear here automatically.\", \"grid_options\": {\"columns\": \"full\"}}]}, {\"type\": \"grid\", \"cards\": [{\"type\": \"heading\", \"heading\": \"Adjust Remaining\", \"icon\": \"mdi:pencil-outline\"}, {\"type\": \"entities\", \"title\": \"Set value (g)\", \"show_header_toggle\": False, \"entities\": [\"input_number.spoolman_set_remaining\"], \"grid_options\": {\"columns\": 6}}, {\"type\": \"tile\", \"entity\": \"sensor.spoolman_spool_1\", \"name\": \"Apply to Spool 1\", \"icon\": Line truncated