This commit is contained in:
Home Assistant Version Control
2026-10-09 22:04:27 +00:00
parent cecef2da65
commit a75bc4b7ab
3 changed files with 1455 additions and 70 deletions
File diff suppressed because it is too large Load Diff
+3
View File
@@ -4216,3 +4216,6 @@
{"timestamp": "2026-10-09T22:03:33.636629+00:00", "tool_name": "ha_search", "parameters": {"query": "spoolman_spool", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 120, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": ["entity_id", "friendly_name", "state"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 197.98970222473145, "success": true, "error_message": null, "response_size_bytes": 13877, "user_context": null}
{"timestamp": "2026-10-09T22:03:36.472686+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.spoolman_spool_3", "sensor.spoolman_spool_7"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["location", "filament_material", "color_hex", "material"]}, "execution_time_ms": 8.768796920776367, "success": true, "error_message": null, "response_size_bytes": 702, "user_context": null}
{"timestamp": "2026-10-09T22:04:07.900406+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": "spoolman", "mode": null, "query": null}, "execution_time_ms": 111.97566986083984, "success": true, "error_message": null, "response_size_bytes": 35278, "user_context": null}
{"timestamp": "2026-10-09T22:04:19.963673+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "sparkx-i7", "config": null, "python_transform": "if config['views'][3]['sections'][0]['cards'][11].get('type') == 'custom:filament-card': config['views'][3]['sections'][0]['cards'][11] = {'type': 'custom:auto-entities', 'card': config['views'][3]['sections'][0]['cards'][11], 'filter': {'include': [{'entity_id': 'sensor.spoolman_spool_*', 'attributes': {'location': 'CFS Lite'}}]}}\nif config['views'][3]['sections'][5]['cards'][1].get('type') == 'custom:filament-card': config['views'][3]['sections'][5]['cards'][1] = {'type': 'custom:auto-entities', 'card': config['views'][3]['sections'][5]['cards'][1], 'filter': {'include': [{'entity_id': 'sensor.spoolman_spool_*', 'attributes': {'location': 'CFS Lite'}}]}}", "config_hash": "be78d8100521f4b9", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null, "patch": null}, "execution_time_ms": 140.77377319335938, "success": true, "error_message": null, "response_size_bytes": 1494, "user_context": null}
{"timestamp": "2026-10-09T22:04:24.792796+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": "spoolman", "mode": null, "query": null}, "execution_time_ms": 121.53172492980957, "success": true, "error_message": null, "response_size_bytes": 35576, "user_context": null}
{"timestamp": "2026-10-09T22:04:25.017582+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set matched = states.sensor | selectattr('entity_id', 'search', '^sensor\\.spoolman_spool_\\d+$') | selectattr('attributes.location', 'defined') | selectattr('attributes.location', 'eq', 'CFS Lite') | list %}{% set spools = matched | selectattr('attributes.filament_material', 'defined') | map(attribute='entity_id') | list %}{% set all_match = states.sensor | selectattr('entity_id', 'search', '^sensor\\.spoolman_spool_\\d+$') | list %}{{ 'CFS-Lite-discovered: ' ~ (spools | sort | join(', ')) ~ ' | total spool sensors: ' ~ (all_match | map(attribute='entity_id') | list | sort | join(', ')) }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 354.0940284729004, "success": true, "error_message": null, "response_size_bytes": 996, "user_context": null}
+96 -70
View File
@@ -1042,42 +1042,55 @@
}
},
{
"preset": "spoolman",
"title": "Filament",
"group_by": "material",
"group_sort_by": "name",
"group_sort_direction": "asc",
"group_order": [],
"group_icon": "mdi:printer-3d-nozzle",
"group_title_actions": {},
"group_title_icons": {},
"group_title_colors": {},
"max_weight": 1000,
"hide_archived": true,
"sort_by": "remaining_weight",
"sort_direction": "asc",
"bar_direction": "horizontal",
"name_position": "bottom",
"show_name": true,
"show_group_title": true,
"value_position": "center",
"use_filament_color": true,
"custom_attribute_entities": [],
"custom_items": [],
"custom_max_value": 1000,
"custom_unit": "g",
"custom_label_id": "",
"tap_action": {
"action": "more-info"
"type": "custom:auto-entities",
"card": {
"preset": "spoolman",
"title": "Filament",
"group_by": "material",
"group_sort_by": "name",
"group_sort_direction": "asc",
"group_order": [],
"group_icon": "mdi:printer-3d-nozzle",
"group_title_actions": {},
"group_title_icons": {},
"group_title_colors": {},
"max_weight": 1000,
"hide_archived": true,
"sort_by": "remaining_weight",
"sort_direction": "asc",
"bar_direction": "horizontal",
"name_position": "bottom",
"show_name": true,
"show_group_title": true,
"value_position": "center",
"use_filament_color": true,
"custom_attribute_entities": [],
"custom_items": [],
"custom_max_value": 1000,
"custom_unit": "g",
"custom_label_id": "",
"tap_action": {
"action": "more-info"
},
"double_tap_action": {
"action": "none"
},
"hold_action": {
"action": "none"
},
"spool_actions": {},
"type": "custom:filament-card"
},
"double_tap_action": {
"action": "none"
},
"hold_action": {
"action": "none"
},
"spool_actions": {},
"type": "custom:filament-card"
"filter": {
"include": [
{
"entity_id": "sensor.spoolman_spool_*",
"attributes": {
"location": "CFS Lite"
}
}
]
}
}
]
},
@@ -1369,42 +1382,55 @@
"heading": "New section"
},
{
"type": "custom:filament-card",
"preset": "spoolman",
"title": "Filament",
"group_by": "material",
"group_sort_by": "name",
"group_sort_direction": "asc",
"group_order": [],
"group_icon": "mdi:printer-3d-nozzle",
"group_title_actions": {},
"group_title_icons": {},
"group_title_colors": {},
"max_weight": 1000,
"hide_archived": true,
"sort_by": "remaining_weight",
"sort_direction": "asc",
"bar_direction": "vertical",
"name_position": "bottom",
"show_name": true,
"show_group_title": true,
"value_position": "center",
"use_filament_color": true,
"custom_attribute_entities": [],
"custom_items": [],
"custom_max_value": 1000,
"custom_unit": "g",
"custom_label_id": "",
"tap_action": {
"action": "more-info"
"type": "custom:auto-entities",
"card": {
"type": "custom:filament-card",
"preset": "spoolman",
"title": "Filament",
"group_by": "material",
"group_sort_by": "name",
"group_sort_direction": "asc",
"group_order": [],
"group_icon": "mdi:printer-3d-nozzle",
"group_title_actions": {},
"group_title_icons": {},
"group_title_colors": {},
"max_weight": 1000,
"hide_archived": true,
"sort_by": "remaining_weight",
"sort_direction": "asc",
"bar_direction": "vertical",
"name_position": "bottom",
"show_name": true,
"show_group_title": true,
"value_position": "center",
"use_filament_color": true,
"custom_attribute_entities": [],
"custom_items": [],
"custom_max_value": 1000,
"custom_unit": "g",
"custom_label_id": "",
"tap_action": {
"action": "more-info"
},
"double_tap_action": {
"action": "none"
},
"hold_action": {
"action": "none"
},
"spool_actions": {}
},
"double_tap_action": {
"action": "none"
},
"hold_action": {
"action": "none"
},
"spool_actions": {}
"filter": {
"include": [
{
"entity_id": "sensor.spoolman_spool_*",
"attributes": {
"location": "CFS Lite"
}
}
]
}
}
]
}