sak_layout_fce_binary:template:type:layoutdefaults:-sak_layout_binary_icon_spin:falselayout:aspectratio:4/1toolsets:# ================================================================-toolset:half-circleposition:cx:0# Center on cards border cy:50tools:# -------------------------------------------------------------type:circleposition:cx:50cy:50radius:50entity_index:0animations:-state:'on'styles:circle:fill:var(--theme-sys-color-primary)-state:'off'styles:circle:fill:var(--theme-sys-elevation-surface-neutral4)styles:circle:stroke:none# ================================================================-toolset:column-iconposition:cx:25cy:50tools:# -------------------------------------------------------------type:iconposition:cx:50cy:50align:centericon_size:45entity_index:0# Define template variable for this icon tool, so it can be# processed by a piece of JavaScript ;-)# The template engine will replace the variable!variables:sak_layout_binary_icon_spin :'[[sak_layout_binary_icon_spin]]'animations:-state:'on'styles:icon:# Use template variable as the source to spin or not.# the config JavaScript parameter is this tools config...animation:>[[[ if (tool_config.variables.sak_layout_binary_icon_spin) return "spin 3s linear infinite";return "";]]]fill:var(--primary-background-color)-state:'off'styles:icon:fill:var(--theme-sys-color-secondary)styles:icon:opacity:0.9# ================================================================-toolset:column-nameposition:cx:70# Left part = 75, so 75+(300-75)/2cy:50tools:# -------------------------------------------------------------type:nameposition:cx:50cy:37entity_index:0styles:name:text-anchor:startfont-size:30emfont-weight:700opacity:1# -------------------------------------------------------------type:stateposition:cx:50cy:70entity_index:0show:uom:nonestyles:state:text-anchor:startfont-size:26emfont-weight:500opacity:0.7