iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 1.6 kB
JavaScript
;(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[7756],{46119:function(a,e,t){t.a(a,async function(a,o){try{t.r(e);var n=t(40445),i=t(5124),r=t(67576),s=t(18350),c=t(90248),l=t(1087),p=t(91926),u=t(6030),h=t(54819),b=a([s,c]);[s,c]=b.then?(await b)():b;let d,g,_=a=>a;class k extends i.WF{render(){return(0,i.qy)(d||(d=_` <ha-icon-button-arrow-prev .label="${0}" @click="${0}"></ha-icon-button-arrow-prev> <h1> ${0} </h1> <div class="description"> ${0} </div> <div class="actions"> <ha-button @click="${0}"> ${0} </ha-button> <ha-button href="https://www.nabucasa.com/config/backups/" target="_blank" rel="noreferrer noopener" appearance="plain"> ${0} </ha-button> </div> `),this.localize("ui.panel.page-onboarding.restore.back"),this._back,this.localize("ui.panel.page-onboarding.restore.ha-cloud.no_cloud_backup"),this.localize("ui.panel.page-onboarding.restore.ha-cloud.no_cloud_backup_description"),this._signOut,this.localize("ui.panel.page-onboarding.restore.ha-cloud.sign_out"),this.localize("ui.panel.page-onboarding.restore.ha-cloud.learn_more"))}_back(){(0,p.oo)(`${location.pathname}?${(0,u.s8)("page")}`)}_signOut(){(0,l.r)(this,"sign-out")}static get styles(){return[h.o,(0,i.AH)(g||(g=_`h1,p{text-align:left}.description{font-size:1rem;line-height:var(--ha-line-height-normal);margin-top:24px;margin-bottom:32px}.actions{display:flex;justify-content:space-between}`))]}}(0,n.Cg)([(0,r.MZ)({attribute:!1})],k.prototype,"localize",void 0),k=(0,n.Cg)([(0,r.EM)("onboarding-restore-backup-no-cloud-backup")],k),o()}catch(d){o(d)}})}}]);