25 lines
569 B
YAML
25 lines
569 B
YAML
# ha_mcp_backup
|
|
schema_version: 1
|
|
domain: script
|
|
entity_id: spoolman_set_spool_remaining
|
|
captured: '2026-10-08T17:52:20.969671+00:00'
|
|
tool: ha_config_set_script
|
|
config:
|
|
alias: Spoolman - Set Spool Remaining
|
|
fields:
|
|
spool_id:
|
|
required: true
|
|
name: Spool ID
|
|
selector:
|
|
number:
|
|
min: 1
|
|
max: 9999
|
|
mode: box
|
|
sequence:
|
|
- action: spoolman.patch_spool
|
|
data:
|
|
id: '{{ spool_id | int(0) }}'
|
|
remaining_weight: '{{ states(''input_number.spoolman_set_remaining'') | float(0)
|
|
}}'
|
|
mode: single
|