UNPKG

iobroker.lovelace

Version:

With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI

1 lines 1.05 kB
"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[51255],{39082:function(i,n,r){r.r(n);r(16280);var t=r(40445),e=r(5124),o=r(67576);let a,s,l,g=i=>i;class c extends e.WF{setConfig(i){if(!i)throw new Error("Invalid configuration");this._config=i}render(){return this._config?(0,e.qy)(a||(a=g` <div class="divider"></div> ${0} `),this._config.label?(0,e.qy)(s||(s=g` <div class="label" .title="${0}"> ${0} </div> `),this._config.label,this._config.label):e.s6):e.s6}}c.styles=(0,e.AH)(l||(l=g`.label{color:var(--section-header-text-color,var(--primary-text-color));margin-left:8px;margin-inline-start:8px;margin-inline-end:initial;margin-bottom:8px;margin-top:16px;font-weight:var(--ha-font-weight-medium)}.divider{height:1px;background-color:var(--entities-divider-color,var(--divider-color));margin-left:-16px;margin-right:-16px;margin-inline-start:-16px;margin-inline-end:-16px;margin-top:8px}`)),(0,t.Cg)([(0,o.wk)()],c.prototype,"_config",void 0),c=(0,t.Cg)([(0,o.EM)("hui-section-row")],c)}}]);