"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["59454"],{68845:function(t,a,e){e.a(t,async function(t,s){try{e.r(a);var i=e(40445),r=e(96196),n=e(77845),o=e(18350),h=e(36158),c=e(88249),l=e(22675),d=t([o,h]);[o,h]=d.then?(await d)():d;let u,p,b=t=>t;class v extends r.WF{render(){return this.hass&&this.stateObj?(0,r.qy)(u||(u=b` <hr> <div class="flex"> <div>${0}:</div> <ha-relative-time .hass="${0}" .datetime="${0}" capitalize></ha-relative-time> </div> <div class="actions"> <ha-button appearance="plain" size="small" @click="${0}" .disabled="${0}"> ${0} </ha-button> </div> `),this.hass.localize("ui.card.automation.last_triggered"),this.hass,this.stateObj.attributes.last_triggered,this._runActions,(0,l.g0)(this.stateObj.state),this.hass.localize("ui.card.automation.trigger")):r.s6}_runActions(){(0,c.lB)(this.hass,this.stateObj.entity_id)}}v.styles=(0,r.AH)(p||(p=b`.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,i.Cg)([(0,n.MZ)({attribute:!1})],v.prototype,"hass",void 0),(0,i.Cg)([(0,n.MZ)({attribute:!1})],v.prototype,"stateObj",void 0),v=(0,i.Cg)([(0,n.EM)("more-info-automation")],v),s()}catch(u){s(u)}})}}]);
//# sourceMappingURL=59454.f0139d04d15b2621.js.map