iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 885 B
JavaScript
;(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[47542],{53205:function(t,e,i){i.a(t,async function(t,n){try{i.r(e),i.d(e,{HuiCardFeatureMoreInfoHintEditor:function(){return u}});var r=i(40445),o=i(5124),s=i(67576),a=i(38962),c=t([a]);a=(c.then?(await c)():c)[0];let h,f=t=>t;class u extends o.WF{setConfig(t){this._config=t}render(){if(!this.hass||!this._config)return o.s6;const t=`ui.panel.lovelace.editor.features.types.${this._config.type}.description`;return(0,o.qy)(h||(h=f` <ha-alert alert-type="info"> ${0} </ha-alert> `),this.hass.localize(t))}}(0,r.Cg)([(0,s.MZ)({attribute:!1})],u.prototype,"hass",void 0),(0,r.Cg)([(0,s.MZ)({attribute:!1})],u.prototype,"context",void 0),(0,r.Cg)([(0,s.wk)()],u.prototype,"_config",void 0),u=(0,r.Cg)([(0,s.EM)("hui-card-feature-more-info-hint-editor")],u),n()}catch(h){n(h)}})}}]);