"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["59454"],{68845:function(t,a,e){e.a(t,async function(t,i){try{e.r(a);var s,n,r=e(72153),o=e(44734),c=e(43080),h=e(69683),l=e(6454),u=e(40445),d=e(96196),f=e(77845),p=e(18350),v=e(36158),b=e(88249),m=e(22675),y=t([p,v]);[p,v]=y.then?(await y)():y;var g=function(t){function a(){return(0,o.A)(this,a),(0,h.A)(this,a,arguments)}return(0,l.A)(a,t),(0,c.A)(a,[{key:"render",value:function(){return this.hass&&this.stateObj?(0,d.qy)(s||(s=(0,r.A)([' <hr> <div class="flex"> <div>',':</div> <ha-relative-time .hass="','" .datetime="','" capitalize></ha-relative-time> </div> <div class="actions"> <ha-button appearance="plain" size="small" @click="','" .disabled="','"> '," </ha-button> </div> "])),this.hass.localize("ui.card.automation.last_triggered"),this.hass,this.stateObj.attributes.last_triggered,this._runActions,(0,m.g0)(this.stateObj.state),this.hass.localize("ui.card.automation.trigger")):d.s6}},{key:"_runActions",value:function(){(0,b.lB)(this.hass,this.stateObj.entity_id)}}])}(d.WF);g.styles=(0,d.AH)(n||(n=(0,r.A)([".flex{display:flex;justify-content:space-between}.actions{margin:var(--ha-space-2) 0;display:flex;flex-wrap:wrap;justify-content:center}hr{border-color:var(--divider-color);border-bottom:none;margin:var(--ha-space-4) 0}"]))),(0,u.Cg)([(0,f.MZ)({attribute:!1})],g.prototype,"hass",void 0),(0,u.Cg)([(0,f.MZ)({attribute:!1})],g.prototype,"stateObj",void 0),g=(0,u.Cg)([(0,f.EM)("more-info-automation")],g),i()}catch(A){i(A)}})}}]);
//# sourceMappingURL=59454.5fa6c42b8ca6aa84.js.map