configuration.yaml
This commit is contained in:
1 parent
3a6c110a77
commit
1210fde1ff
1 file changed
-1
@@ -21,7 +21,6 @@ shell_command:
|
|||||||
# Spoolman location of each slot. Script reads its Grafana token from /config/.colour-sync.token
|
# Spoolman location of each slot. Script reads its Grafana token from /config/.colour-sync.token
|
||||||
grafana_colour_sync: >-
|
grafana_colour_sync: >-
|
||||||
python3 /config/colour-sync.py --once --colours
|
python3 /config/colour-sync.py --once --colours
|
||||||
'{%- set ns = namespace(items=[]) -%}
|
|
||||||
{%- for s in states.sensor | selectattr('entity_id', 'match', '^sensor[.]spoolman_spool_[0-9]+$') -%}
|
{%- for s in states.sensor | selectattr('entity_id', 'match', '^sensor[.]spoolman_spool_[0-9]+$') -%}
|
||||||
{%- set loc = (s.attributes.location | default('')) | trim -%}
|
{%- set loc = (s.attributes.location | default('')) | trim -%}
|
||||||
{%- if loc.lower().startswith('cfs lite ') -%}
|
{%- if loc.lower().startswith('cfs lite ') -%}
|
||||||
|
|||||||
Reference in new issue
Block a user