sak_layout_fce_power_outlet2:template:type:layoutdefaults:-sak_layout_power_outlet_segarc_scale_max_watt:200layout:aspectratio:3/1toolsets:# ================================================================-toolset:column-iconposition:cx:0cy:50tools:# -------------------------------------------------------------type:circleposition:cx:50cy:50radius:50entity_index:2animations:-state:'on'styles:circle:fill:var(--theme-sys-color-primary)# animation: flash 2s ease-in-out 5-state:'off'styles:circle:fill:var(--theme-sys-color-secondary-container)# Remove user actions part to just display the state# or disable pointer-events via a class or style# Using a class enables the use of variables that can# disable pointer-events to none!user_actions:tap_action:haptic:lightactions:-action:call-serviceservice:switch.togglestyles:circle:fill:var(--theme-sys-color-secondary-container)stroke:var(--theme-sys-color-secondary)stroke-width:0em# -------------------------------------------------------------type:iconposition:cx:75cy:50align:centericon_size:30entity_index:2animations:-state:'on'styles:icon:# animation: spin 3s linear infinitefill:var(--primary-background-color)-state:'off'styles:icon:# fill: var(--theme-sys-color-on-secondary-container)fill:var(--theme-sys-color-secondary)styles:icon:fill:var(--theme-sys-color-secondary)# opacity: 0.7pointer-events:none# ================================================================-toolset:switchposition:cx:25# On 1/3 of card widthcy:75scale:2tools:# -------------------------------------------------------------type:switchposition:cx:50cy:50orientation:'horizontal'track:width:15height:5radius:2.5thumb:width:3height:3radius:2.5offset:4.5entity_index:2user_actions:tap_action:haptic:lightactions:-action:call-serviceservice:switch.togglestyles:track:--switch-checked-track-color:var(--primary-background-color)--switch-unchecked-track-color:var(--theme-sys-color-secondary)# --switch-checked-button-color: thumb:--thumb-stroke:'var(--primary-background-color)'# ================================================================-toolset:column-nameposition:cx:120cy:50tools:# -------------------------------------------------------------type:nameposition:cx:50cy:50entity_index:0styles:name:text-anchor:middlefont-size:25emfont-weight:700opacity:1# -------------------------------------------------------------type:stateposition:cx:50cy:80entity_index:1show:uom:nonestyles:state:text-anchor:middlefont-size:14emfont-weight:500opacity:0.7# ================================================================-toolset:line1position:cx:200# On 1/3 of card widthcy:50tools:# -------------------------------------------------------------type:lineposition:cx:50cy:50orientation:verticallength:50styles:line:fill:var(--primary-text-color)opacity:0.5# ================================================================-toolset:column-loadtemplate:name:toolset_tutorial_02_part1variables:-var_entity_index:0-var_toolset_position_cx:250-var_segarc_scale_max:'[[sak_layout_power_outlet_segarc_scale_max_watt]]'