export const __rspack_esm_id="45923";export const __rspack_esm_ids=["45923"];export const __webpack_modules__={55374(e,o,n){n.d(o,{getESPHomeDeviceActions:()=>c});n(44114),n(18111),n(20116);var t=n(77423);var i=n(1087);const r=()=>n.e("86310").then(n.bind(n,82277)),c=async(e,o,n)=>{const c=[],a=(await(0,t.VN)(o,{domain:"esphome"})).find(e=>n.config_entries.includes(e.entry_id));if(!a)return[];const s=a.entry_id;try{const n=await((e,o)=>e.callWS({type:"esphome/get_encryption_key",entry_id:o}))(o,s);n.encryption_key&&c.push({label:o.localize("ui.panel.config.devices.esphome.show_encryption_key"),icon:"M7 14C5.9 14 5 13.1 5 12S5.9 10 7 10 9 10.9 9 12 8.1 14 7 14M12.6 10C11.8 7.7 9.6 6 7 6C3.7 6 1 8.7 1 12S3.7 18 7 18C9.6 18 11.8 16.3 12.6 14H16V18H20V14H23V10H12.6Z",action:()=>{return o=e,t={entry_id:s,encryption_key:n.encryption_key},void(0,i.r)(o,"show-dialog",{dialogTag:"dialog-esphome-encryption-key",dialogImport:r,dialogParams:t});var o,t}})}catch(e){console.error("Failed to fetch ESPHome encryption key:",e)}return c}}};
//# sourceMappingURL=45923.5962634ea5f673fd.js.map