perhaps you must explain it a little bit more, the code you posted is from which file? the themes.yaml?
post the configuration.yaml and the themes.yaml file if this what you mean,
the line that you post has nothing todo with the themes.yaml?!
@weaverprojects
If you’re happy with it, I can make the hue:lily for you today, I just couldn’t make it yesterday
EDIT
Here you are
icon_lily:
styles:
custom_fields:
icon:
- width: 100%
- margin-left: -35%
- margin-top: -20%
custom_fields:
icon: >
[[[
let state = variables.state_on && variables.timeout < 2000 ? 'on' : null;
return `
<svg viewBox="0 0 40 40">
<style>
@keyframes on {
0% {
opacity: 0.5;
}
20% {
opacity: 1;
}
100% {
opacity: 1;
}
}
.on {
animation: on 5s;
transform-origin: center;
}
</style>
<g transform="matrix(0.05 -0.0291 0.0383 0.0658 32.0409 15.6111)" id="806432">
<path class="${state}" fill="var(--light-color)" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-78.4998, -78.5)" d="M 78.5 0 C 52.9419 0 32.1166 35.2271 32.1166 78.5 C 32.1166 121.773 52.9419 157 78.5 157 C 104.058 157 124.883 121.773 124.883 78.5 C 124.883 35.2271 104.058 0 78.5 0 Z" stroke-linecap="round"/>
</g>
<g transform="matrix(1.3513 0 0 1.3513 24.9997 24.9996)" id="619688">
<path style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: #9da0a2; fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-12.0077, -12.03)" d="M 20.5 6.6 c 0 -1 -0.4 -2.1 -1 -3.2 c -0.6 -1.1 -1.4 -2 -2.3 -2.5 c -0.9 -0.6 -1.8 -0.7 -2.5 -0.3 c 0 0 0 0 0 0 c 0 0 0 0 0 0 L 4.5 6.7 c 0 0 0 0 0 0 c -0.7 0.4 -1 1.2 -1 2.3 c 0 1 0.4 2.1 1 3.2 c 0.6 1.1 1.4 2 2.3 2.5 C 7 14.8 7.2 14.9 7.4 15 c 0.1 1.5 0.4 2.8 0.6 3.2 c 0.3 0.4 1 0.9 1.9 1.2 c -1.8 0.2 -3.7 0.6 -3.7 1.8 v 0.7 c 0 1.4 3.2 1.8 5.1 1.8 c 1.9 0 5.1 -0.4 5.1 -1.8 v -0.7 c 0 -1 -1.6 -1.5 -3.2 -1.7 c 0.7 -0.2 1 -0.6 1.2 -0.7 c 0.2 -0.1 0.3 -0.4 0.3 -0.7 c -0.1 -0.6 -0.7 -0.9 -1.2 -1 c -0.9 -0.3 -1.4 -0.3 -1.8 -0.2 c -0.2 -0.7 -0.2 -1.9 -0.2 -3.1 l 8 -4.7 c 0 0 0 0 0 0 c 0 0 0 0 0 0 c 0 0 0 0 0 0 c 0 0 0 0 0.1 0 c 0 0 0 0 0 0 C 20.2 8.4 20.6 7.7 20.5 6.6 z M 16.7 1.7 c 0.7 0.5 1.4 1.2 1.9 2.2 c 0.5 0.9 0.9 1.9 0.9 2.8 c 0 0.7 -0.1 1.2 -0.5 1.4 c -0.3 0.2 -0.9 0.1 -1.5 -0.3 c -0.7 -0.5 -1.4 -1.2 -1.9 -2.2 c -0.5 -0.9 -0.9 -1.9 -0.9 -2.8 c 0 -0.5 0.1 -1 0.3 -1.2 c 0 0 0 0 0 0 c 0.1 -0.1 0.1 -0.1 0.2 -0.2 c 0 0 0 0 0 0 c 0.1 -0.1 0.2 -0.1 0.4 -0.1 C 15.9 1.3 16.3 1.5 16.7 1.7 z" stroke-linecap="round"/>
</g>
</svg>
`;
]]]
today i remake the lucca, its a little blurred
here is my hue:floor-lantern
icon_lantern_new:
styles:
custom_fields:
icon:
- width: 100%
- margin-left: -25%
- margin-top: -20%
custom_fields:
icon: >
[[[
let state = variables.state_on && variables.timeout < 2000 ? 'on' : null;
return `
<svg viewBox="0 0 40 40">
<style>
@keyframes on {
0% {
opacity: 0.5;
}
20% {
opacity: 1;
}
100% {
opacity: 1;
}
}
.on {
animation: on 5s;
transform-origin: center;
}
</style>
<g transform="matrix(-0.0597 0 0 -0.097 25.1132 18.1834)" id="127847" clip-path="url(#CLIPPATH_3)">
<clipPath id="CLIPPATH_3">
<rect transform="matrix(1 0 0 1 0.0001 0.0005)" id="clip0_302_122" x="-79" y="-79.5" rx="0" ry="0" width="158" height="159"/>
</clipPath>
<path class="${state}" fill="var(--light-color)" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; ; fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-78.9999, -79.4995)" d="M 157.307 120.309 L 124.594 35.4256 C 124.113 34.1165 122.872 33.2477 121.485 33.249 H 36.2565 C 34.8878 33.2564 33.6712 34.1271 33.215 35.4256 L 0.231964 121.193 C -0.170713 122.206 -0.0439854 123.355 0.570009 124.254 C 1.16278 125.18 2.17913 125.742 3.27342 125.75 H 154.671 V 125.682 C 155.411 125.686 156.131 125.441 156.716 124.985 C 158.162 123.858 158.426 121.765 157.307 120.309 Z" stroke-linecap="round"/>
</g>
<g transform="matrix(1.3658 0 0 1.3658 25 25.0001)" id="191525">
<path style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: #9da0a2; fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-11.9999, -11.6362)" d="M 13.89 9.73 c -1.07 -0.37 -2.71 -0.37 -3.78 0 L 9.2 3.46 c 1.78 0.22 3.82 0.22 5.6 0 L 13.89 9.73 z M 16.83 0.55 c -2.66 -0.73 -7.02 -0.73 -9.67 0 C 4.55 1.27 4.63 2.42 7.29 3.12 C 7.4 3.15 7.53 3.17 7.64 3.2 l 1.18 8.12 c 0.09 0.32 0.58 0.7 1.68 0.9 v 8.97 c -0.73 0.12 -1.27 0.31 -1.44 0.55 C 9.02 21.8 9 21.86 9 21.91 v 0.54 c 0 0.45 1.34 0.82 3 0.82 s 3 -0.37 3 -0.82 v -0.54 c 0 -0.3 -0.61 -0.56 -1.5 -0.71 v -8.98 c 1.09 -0.2 1.56 -0.59 1.68 -0.9 l 1.18 -8.13 c 0.12 -0.03 0.25 -0.05 0.36 -0.08 C 19.37 2.42 19.45 1.27 16.83 0.55 z" stroke-linecap="round"/>
</g>
</svg>
`;
]]]