sak_layout_fce_sensor1:template:type:layoutdefaults:-sak_layout_sensor_name_above_state:true-sak_layout_sensor_history_disabled:false-sak_layout_sensor_circle_style:default-sak_layout_sensor_icon_style:default-sak_layout_sensor_segarc_style:colorlist-sak_layout_sensor_scale_max:2-sak_layout_sensor_colorstops_template:colorstops_energy_2kwlayout:aspectratio:4/1toolsets:# ================================================================-toolset:half-circleposition:cx:0# Center on cards border cy:50tools:# -------------------------------------------------------------type:circleposition:cx:50cy:50radius:50show:style:'[[sak_layout_sensor_circle_style]]'entity_index:0colorstops:template:name:'[[sak_layout_sensor_colorstops_template]]'styles:circle:stroke:nonefill:var(--theme-sys-elevation-surface-neutral4)# ------------------------------------------------------------ -type:'segarc'id:0position:cx:50cy:50start_angle:25end_angle:155width:4radius:58entity_index:0scale:min:0max:'[[sak_layout_sensor_scale_max]]'width:6offset:12show:scale:falsestyle:'[[sak_layout_sensor_segarc_style]]'lastcolor:truesegments:colorlist:gap:1colors:-var(--theme-sys-color-secondary)colorstops:template:name:'[[sak_layout_sensor_colorstops_template]]'variables:-thegap:2styles:foreground:fill:darkgreybackground:fill:var(--theme-sys-color-secondary)opacity:0.5# ================================================================-toolset:column-iconposition:cx:25cy:50tools:# -------------------------------------------------------------type:iconposition:cx:50cy:50align:centericon_size:45entity_index:0show:style:'[[sak_layout_sensor_icon_style]]'colorlist:colors:-var(--theme-sys-color-secondary)colorstops:template:name:'[[sak_layout_sensor_colorstops_template]]'styles:icon:fill:var(--theme-sys-color-secondary)opacity:0.9# ================================================================-toolset:column-barposition:cx:235# 400-70/2 + 70=235cy:50tools:# -------------------------------------------------------------type:barid:1disabled:'[[sak_layout_sensor_history_disabled]]'entity_index:0position:orientation:verticalcx:50cy:50width:330# 400-70=330height:100margin:1hours:24barhours:1show:style:'minmaxgradient'minmaxgradient:fill:truecolors:min:var(--theme-sys-palette-secondary85)max:var(--theme-sys-palette-secondary65)styles:bar:stroke-linecap:squareopacity:0.25# ================================================================-toolset:column-nameposition:cx:70# Left part = 75, so 75+(300-75)/2cy:50tools:# Variant 1a, name above state...# The YAML parser can't interpret logical operators, so we# have to use JavaScript to do this...# -------------------------------------------------------------type:nameposition:cx:50cy:37variables:name_above_state:'[[sak_layout_sensor_name_above_state]]'disabled:'[[[[return!tool_config.variables.name_above_state;]]]]'entity_index:0styles:name:text-anchor:startfont-size:30emfont-weight:700opacity:1# -------------------------------------------------------------type:stateposition:cx:50cy:70variables:name_above_state:'[[sak_layout_sensor_name_above_state]]'disabled:'[[[[return!tool_config.variables.name_above_state;]]]]'entity_index:0styles:state:text-anchor:startfont-size:26emfont-weight:500opacity:0.7# Variant 1b, state above name...# -------------------------------------------------------------type:stateposition:cx:50cy:37disabled:'[[sak_layout_sensor_name_above_state]]'entity_index:0styles:state:text-anchor:startfont-size:30emfont-weight:700opacity:1# -------------------------------------------------------------type:nameposition:cx:50cy:70disabled:'[[sak_layout_sensor_name_above_state]]'entity_index:0styles:name:text-anchor:startfont-size:26emfont-weight:500opacity:0.7