This commit is contained in:
Home Assistant Version Control
2026-10-08 16:34:05 +00:00
parent 32f05e404b
commit 2f6d84e32c
3 changed files with 3764 additions and 3668 deletions
+2
View File
@@ -3947,3 +3947,5 @@
{"timestamp": "2026-10-08T16:30:47.445899+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{%- set slot = states('sensor.sparkx_i7_active_filament_slot') -%}\n{%- set ce = 'sensor.sparkx_i7_cfs_' ~ (slot | lower | replace(' ', '_')) ~ '_color' -%}\n{%- set color = states(ce) | replace('#', '') | lower -%}\n{%- set ns = namespace(id = '') -%}\n{%- for e in integration_entities('spoolman') -%}\n {%- if e.endswith('_color_hex') and (states(e) | lower) == color -%}\n {%- set ns.id = states(e[:-10] ~ '_id') -%}\n {%- endif -%}\n{%- endfor -%}\n{{ ns.id }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 211.78388595581055, "success": true, "error_message": null, "response_size_bytes": 706, "user_context": null} {"timestamp": "2026-10-08T16:30:47.445899+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{%- set slot = states('sensor.sparkx_i7_active_filament_slot') -%}\n{%- set ce = 'sensor.sparkx_i7_cfs_' ~ (slot | lower | replace(' ', '_')) ~ '_color' -%}\n{%- set color = states(ce) | replace('#', '') | lower -%}\n{%- set ns = namespace(id = '') -%}\n{%- for e in integration_entities('spoolman') -%}\n {%- if e.endswith('_color_hex') and (states(e) | lower) == color -%}\n {%- set ns.id = states(e[:-10] ~ '_id') -%}\n {%- endif -%}\n{%- endfor -%}\n{{ ns.id }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 211.78388595581055, "success": true, "error_message": null, "response_size_bytes": 706, "user_context": null}
{"timestamp": "2026-10-08T16:31:24.221714+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "input_text", "name": "SparkX i7 Print Spool Latch", "helper_id": "sparkx_i7_print_spool_latch", "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": null, "wait": true, "action": null, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 4.665613174438477, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Could not find input_text entity: input_text.sparkx_i7_print_spool_latch\",\n \"suggestion\": \"Verify the helper_id='sparkx_i7_print_spool_latch' exists (use ha_config_list_helpers to list current helpers)\",\n \"suggestions\": [\n \"Verify the helper_id='sparkx_i7_print_spool_latch' exists (use ha_config_list_helpers to list current helpers)\",\n \"If you meant to create a new helper named 'SparkX i7 Print Spool Latch', omit helper_id (or pass action='create')\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide() to read SKILL.md, then the reference file its table points to, before retrying.\"\n ]\n },\n \"helper_type\": \"input_text\",\n \"data_schema\": [\n {\n \"name\": \"name\",\n \"required\": true,\n \"selector\": {\n \"text\": {}\n },\n \"description\": \"Display name.\"\n },\n {\n \"name\": \"min_value\",\n \"required\": false,\n \"selector\": {\n \"number\": {}\n },\n \"description\": \"Minimum length (0\\u2013255). Also accepts `min`.\"\n },\n {\n \"name\": \"max_value\",\n \"required\": false,\n \"selector\": {\n \"number\": {}\n },\n \"description\": \"Maximum length (0\\u2013255). Also accepts `max`.\"\n },\n {\n \"name\": \"mode\",\n \"required\": false,\n \"selector\": {\n \"select\": {\n \"options\": [\n \"text\",\n \"password\"\n ]\n }\n },\n \"description\": \"Default 'text'.\"\n },\n {\n \"name\": \"initial\",\n \"required\": false,\n \"selector\": {\n \"text\": {}\n },\n \"description\": \"When set \\u2014 even to false/0 \\u2014 disables last-state restore and forces this value on every HA restart. Omit unless you want the helper to reset to this value on every restart instead of restoring its last state.\"\n },\n {\n \"name\": \"icon\",\n \"required\": false,\n \"selector\": {\n \"text\": {}\n }\n }\n ],\n \"entity_id\": \"input_text.sparkx_i7_print_spool_latch\",\n \"helper_id\": \"sparkx_i7_print_spool_latch\",\n \"name\": \"SparkX i7 Print Spool Latch\"\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-10-08T16:31:24.221714+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "input_text", "name": "SparkX i7 Print Spool Latch", "helper_id": "sparkx_i7_print_spool_latch", "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": null, "wait": true, "action": null, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 4.665613174438477, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Could not find input_text entity: input_text.sparkx_i7_print_spool_latch\",\n \"suggestion\": \"Verify the helper_id='sparkx_i7_print_spool_latch' exists (use ha_config_list_helpers to list current helpers)\",\n \"suggestions\": [\n \"Verify the helper_id='sparkx_i7_print_spool_latch' exists (use ha_config_list_helpers to list current helpers)\",\n \"If you meant to create a new helper named 'SparkX i7 Print Spool Latch', omit helper_id (or pass action='create')\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide() to read SKILL.md, then the reference file its table points to, before retrying.\"\n ]\n },\n \"helper_type\": \"input_text\",\n \"data_schema\": [\n {\n \"name\": \"name\",\n \"required\": true,\n \"selector\": {\n \"text\": {}\n },\n \"description\": \"Display name.\"\n },\n {\n \"name\": \"min_value\",\n \"required\": false,\n \"selector\": {\n \"number\": {}\n },\n \"description\": \"Minimum length (0\\u2013255). Also accepts `min`.\"\n },\n {\n \"name\": \"max_value\",\n \"required\": false,\n \"selector\": {\n \"number\": {}\n },\n \"description\": \"Maximum length (0\\u2013255). Also accepts `max`.\"\n },\n {\n \"name\": \"mode\",\n \"required\": false,\n \"selector\": {\n \"select\": {\n \"options\": [\n \"text\",\n \"password\"\n ]\n }\n },\n \"description\": \"Default 'text'.\"\n },\n {\n \"name\": \"initial\",\n \"required\": false,\n \"selector\": {\n \"text\": {}\n },\n \"description\": \"When set \\u2014 even to false/0 \\u2014 disables last-state restore and forces this value on every HA restart. Omit unless you want the helper to reset to this value on every restart instead of restoring its last state.\"\n },\n {\n \"name\": \"icon\",\n \"required\": false,\n \"selector\": {\n \"text\": {}\n }\n }\n ],\n \"entity_id\": \"input_text.sparkx_i7_print_spool_latch\",\n \"helper_id\": \"sparkx_i7_print_spool_latch\",\n \"name\": \"SparkX i7 Print Spool Latch\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-10-08T16:31:30.967369+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "input_text", "name": "SparkX i7 Print Spool Latch", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": null, "wait": true, "action": "create", "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 119.4601058959961, "success": true, "error_message": null, "response_size_bytes": 320, "user_context": null} {"timestamp": "2026-10-08T16:31:30.967369+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "input_text", "name": "SparkX i7 Print Spool Latch", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": null, "wait": true, "action": "create", "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 119.4601058959961, "success": true, "error_message": null, "response_size_bytes": 320, "user_context": null}
{"timestamp": "2026-10-08T16:34:00.084894+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "SparkX i7 - Deduct filament in Spoolman on print complete", "triggers": [{"trigger": "state", "entity_id": "sensor.sparkx_i7_print_status", "from": "printing", "to": "completed"}], "conditions": [{"condition": "template", "value_template": "{{ states('sensor.sparkx_i7_filament_weight_estimated') | float(0) > 0 }}"}], "actions": [{"variables": {"weight": "{{ states('sensor.sparkx_i7_filament_weight_estimated') | float(0) }}", "spool_id": "{{ states('input_text.sparkx_i7_print_spool_latch') | int(0) }}"}}, {"choose": [{"conditions": {"condition": "[REDACTED]", "value_template": "[REDACTED]"}, "sequence": ["[REDACTED]", "[REDACTED]"]}, {"conditions": {"condition": "[REDACTED]", "value_template": "[REDACTED]"}, "sequence": ["[REDACTED]", "[REDACTED]", "[REDACTED]"]}]}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1374.201774597168, "success": true, "error_message": null, "response_size_bytes": 6517, "user_context": null}
{"timestamp": "2026-10-08T16:34:00.733867+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "SparkX i7 - Latch print spool for Spoolman", "triggers": [{"trigger": "state", "entity_id": "sensor.sparkx_i7_print_status", "to": "printing"}, {"trigger": "state", "entity_id": "sensor.sparkx_i7_active_filament_slot"}, {"trigger": "state", "entity_id": ["sensor.sparkx_i7_cfs_box_1_slot_1_color", "sensor.sparkx_i7_cfs_box_1_slot_2_color", "sensor.sparkx_i7_cfs_box_1_slot_3_color", "sensor.sparkx_i7_cfs_box_1_slot_4_color"]}], "conditions": [{"condition": "state", "entity_id": "sensor.sparkx_i7_print_status", "state": "printing"}], "actions": [{"choose": [{"conditions": {"condition": "[REDACTED]", "value_template": "[REDACTED]"}, "sequence": ["[REDACTED]"]}]}, {"variables": {"spool_id": "{%- set slot = states('sensor.sparkx_i7_active_filament_slot') -%}\n{%- set ce = 'sensor.sparkx_i7_cfs_' ~ (slot | lower | replace(' ', '_')) ~ '_color' -%}\n{%- set color = states(ce) | replace('#', '') | lower -%}\n{%- set ns = namespace(id = '') -%}\n{%- for e in integration_entities('spoolman') -%}\n {%- if e.endswith('_color_hex') and (states(e) | lower) == color -%}\n {%- set ns.id = states(e[:-10] ~ '_id') -%}\n {%- endif -%}\n{%- endfor -%}\n{{ ns.id }}"}}, {"condition": "template", "value_template": "{{ spool_id not in ['', 'unknown', 'unavailable'] }}"}, {"action": "input_text.set_value", "target": {"entity_id": "input_text.sparkx_i7_print_spool_latch"}, "data": {"value": "{{ spool_id }}"}}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 2021.4054584503174, "success": true, "error_message": null, "response_size_bytes": 1773, "user_context": null}
+3752 -3658
View File
File diff suppressed because it is too large Load Diff
+10 -10
View File
@@ -45,10 +45,10 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 118.8, "voltage": 118.1,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 103.62, "energy": 103.63,
"power_factor": 0.2, "power_factor": 0.9,
"ac_frequency": 60, "ac_frequency": 60,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -58,8 +58,8 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"linkquality": 145, "linkquality": 145,
"power": 1.7, "power": 87.9,
"current": 0.1, "current": 0.85,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe031e3": { "0xb40e060fffe031e3": {
@@ -77,9 +77,9 @@
"voltage": 117.8, "voltage": 117.8,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 210.32, "energy": 210.33,
"power": 103.4, "power": 96.1,
"current": 0.95, "current": 0.89,
"power_factor": 0.93, "power_factor": 0.93,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -98,7 +98,7 @@
"voltage": 118.8, "voltage": 118.8,
"energy": 100.67, "energy": 100.67,
"state": "ON", "state": "ON",
"power": 10.7, "power": 10.6,
"current": 0.32, "current": 0.32,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.5, "power_factor": 0.5,
@@ -119,7 +119,7 @@
"energy": 14.2, "energy": 14.2,
"current": 0.01, "current": 0.01,
"power": 0.2, "power": 0.2,
"power_factor": 0.22, "power_factor": 0.11,
"linkquality": 116, "linkquality": 116,
"update": { "update": {
"state": "idle", "state": "idle",