UNPKG

iobroker.lovelace

Version:

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

2 lines 836 B
export const __webpack_ids__=["89870"];export const __webpack_modules__={37093:function(t,e,s){s.r(e);var i=s(44249),a=s(57243),r=s(15093),d=(s(68424),s(72099));(0,i.Z)([(0,r.Mo)("more-info-image")],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,r.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,r.Cb)({attribute:!1})],key:"stateObj",value:void 0},{kind:"method",key:"render",value:function(){return this.hass&&this.stateObj?a.dy`<img alt="${this.stateObj.attributes.friendly_name||this.stateObj.entity_id}" src="${this.hass.hassUrl((0,d.U)(this.stateObj))}"> `:a.Ld}},{kind:"field",static:!0,key:"styles",value:()=>a.iv`:host{display:block;text-align:center}img{max-width:100%}`}]}}),a.oi)}}; //# sourceMappingURL=89870.4f9dc35b98c24e33.js.map