Files
HomeAssistantVS/.ha_mcp/backups/helper_template.01M4J95V58XWWCRA3X26S6ZDN6.20261010_065550.yaml
T

21 lines
675 B
YAML

# ha_mcp_backup
schema_version: 1
domain: helper_template
entity_id: 01M4J95V58XWWCRA3X26S6ZDN6
captured: '2026-10-10T06:55:50.281069+00:00'
tool: ha_config_set_helper
config:
entry_id: 01M4J95V58XWWCRA3X26S6ZDN6
options:
template_type: sensor
name: Active Spool
state: '{% set sid = states(''sensor.sparkx_moonraker_spool_id'') | int(0) %}{%
if sid == 0 %}No active spool{% else %}{% set eid = ''sensor.spoolman_spool_''
~ sid %}{{ state_attr(eid, ''friendly_name'') or (''Spool '' ~ sid) }}{% endif
%}'
entities:
- entity_id: sensor.active_spool
unique_id: 01M4J95V58XWWCRA3X26S6ZDN6
name: null
original_name: Active Spool