iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
2 lines • 955 B
JavaScript
;(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["89870"],{37093:function(t,e,s){s.r(e);var i=s(61701),a=(s(71695),s(47021),s(57243)),n=s(50778),r=(s(68424),s(72099));let d,o,h=t=>t;(0,i.Z)([(0,n.Mo)("more-info-image")],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,n.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,n.Cb)({attribute:!1})],key:"stateObj",value:void 0},{kind:"method",key:"render",value:function(){return this.hass&&this.stateObj?(0,a.dy)(d||(d=h`<img alt="${0}" src="${0}"> `),this.stateObj.attributes.friendly_name||this.stateObj.entity_id,this.hass.hassUrl((0,r.U)(this.stateObj))):a.Ld}},{kind:"field",static:!0,key:"styles",value(){return(0,a.iv)(o||(o=h`:host{display:block;text-align:center}img{max-width:100%}`))}}]}}),a.oi)}}]);
//# sourceMappingURL=89870.1638f7a4e71963c2.js.map