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