UNPKG

iobroker.lovelace

Version:

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

1 lines 962 B
export const __rspack_esm_id=51255;export const __rspack_esm_ids=[51255];export const __webpack_modules__={39082(i,r,e){e.r(r);var t=e(62826),n=e(5124),o=e(22441);class a extends n.WF{setConfig(i){if(!i)throw new Error("Invalid configuration");this._config=i}render(){return this._config?n.qy` <div class="divider"></div> ${this._config.label?n.qy` <div class="label" .title="${this._config.label}"> ${this._config.label} </div> `:n.s6} `:n.s6}}a.styles=n.AH`.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)()],a.prototype,"_config",void 0),a=(0,t.Cg)([(0,o.EM)("hui-section-row")],a)}};