3 files
This commit is contained in:
1 parent
cecef2da65
commit
a75bc4b7ab
3 files changed
+1455
-70
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -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: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: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: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
@@ -1042,42 +1042,55 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"preset": "spoolman",
|
"type": "custom:auto-entities",
|
||||||
"title": "Filament",
|
"card": {
|
||||||
"group_by": "material",
|
"preset": "spoolman",
|
||||||
"group_sort_by": "name",
|
"title": "Filament",
|
||||||
"group_sort_direction": "asc",
|
"group_by": "material",
|
||||||
"group_order": [],
|
"group_sort_by": "name",
|
||||||
"group_icon": "mdi:printer-3d-nozzle",
|
"group_sort_direction": "asc",
|
||||||
"group_title_actions": {},
|
"group_order": [],
|
||||||
"group_title_icons": {},
|
"group_icon": "mdi:printer-3d-nozzle",
|
||||||
"group_title_colors": {},
|
"group_title_actions": {},
|
||||||
"max_weight": 1000,
|
"group_title_icons": {},
|
||||||
"hide_archived": true,
|
"group_title_colors": {},
|
||||||
"sort_by": "remaining_weight",
|
"max_weight": 1000,
|
||||||
"sort_direction": "asc",
|
"hide_archived": true,
|
||||||
"bar_direction": "horizontal",
|
"sort_by": "remaining_weight",
|
||||||
"name_position": "bottom",
|
"sort_direction": "asc",
|
||||||
"show_name": true,
|
"bar_direction": "horizontal",
|
||||||
"show_group_title": true,
|
"name_position": "bottom",
|
||||||
"value_position": "center",
|
"show_name": true,
|
||||||
"use_filament_color": true,
|
"show_group_title": true,
|
||||||
"custom_attribute_entities": [],
|
"value_position": "center",
|
||||||
"custom_items": [],
|
"use_filament_color": true,
|
||||||
"custom_max_value": 1000,
|
"custom_attribute_entities": [],
|
||||||
"custom_unit": "g",
|
"custom_items": [],
|
||||||
"custom_label_id": "",
|
"custom_max_value": 1000,
|
||||||
"tap_action": {
|
"custom_unit": "g",
|
||||||
"action": "more-info"
|
"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": {
|
"filter": {
|
||||||
"action": "none"
|
"include": [
|
||||||
},
|
{
|
||||||
"hold_action": {
|
"entity_id": "sensor.spoolman_spool_*",
|
||||||
"action": "none"
|
"attributes": {
|
||||||
},
|
"location": "CFS Lite"
|
||||||
"spool_actions": {},
|
}
|
||||||
"type": "custom:filament-card"
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -1369,42 +1382,55 @@
|
|||||||
"heading": "New section"
|
"heading": "New section"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "custom:filament-card",
|
"type": "custom:auto-entities",
|
||||||
"preset": "spoolman",
|
"card": {
|
||||||
"title": "Filament",
|
"type": "custom:filament-card",
|
||||||
"group_by": "material",
|
"preset": "spoolman",
|
||||||
"group_sort_by": "name",
|
"title": "Filament",
|
||||||
"group_sort_direction": "asc",
|
"group_by": "material",
|
||||||
"group_order": [],
|
"group_sort_by": "name",
|
||||||
"group_icon": "mdi:printer-3d-nozzle",
|
"group_sort_direction": "asc",
|
||||||
"group_title_actions": {},
|
"group_order": [],
|
||||||
"group_title_icons": {},
|
"group_icon": "mdi:printer-3d-nozzle",
|
||||||
"group_title_colors": {},
|
"group_title_actions": {},
|
||||||
"max_weight": 1000,
|
"group_title_icons": {},
|
||||||
"hide_archived": true,
|
"group_title_colors": {},
|
||||||
"sort_by": "remaining_weight",
|
"max_weight": 1000,
|
||||||
"sort_direction": "asc",
|
"hide_archived": true,
|
||||||
"bar_direction": "vertical",
|
"sort_by": "remaining_weight",
|
||||||
"name_position": "bottom",
|
"sort_direction": "asc",
|
||||||
"show_name": true,
|
"bar_direction": "vertical",
|
||||||
"show_group_title": true,
|
"name_position": "bottom",
|
||||||
"value_position": "center",
|
"show_name": true,
|
||||||
"use_filament_color": true,
|
"show_group_title": true,
|
||||||
"custom_attribute_entities": [],
|
"value_position": "center",
|
||||||
"custom_items": [],
|
"use_filament_color": true,
|
||||||
"custom_max_value": 1000,
|
"custom_attribute_entities": [],
|
||||||
"custom_unit": "g",
|
"custom_items": [],
|
||||||
"custom_label_id": "",
|
"custom_max_value": 1000,
|
||||||
"tap_action": {
|
"custom_unit": "g",
|
||||||
"action": "more-info"
|
"custom_label_id": "",
|
||||||
|
"tap_action": {
|
||||||
|
"action": "more-info"
|
||||||
|
},
|
||||||
|
"double_tap_action": {
|
||||||
|
"action": "none"
|
||||||
|
},
|
||||||
|
"hold_action": {
|
||||||
|
"action": "none"
|
||||||
|
},
|
||||||
|
"spool_actions": {}
|
||||||
},
|
},
|
||||||
"double_tap_action": {
|
"filter": {
|
||||||
"action": "none"
|
"include": [
|
||||||
},
|
{
|
||||||
"hold_action": {
|
"entity_id": "sensor.spoolman_spool_*",
|
||||||
"action": "none"
|
"attributes": {
|
||||||
},
|
"location": "CFS Lite"
|
||||||
"spool_actions": {}
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user