import{a as o,j as l}from"./index-BeDhuS24.js";import"./envs-DFlyG_dH.js";function u(e){const{device:a}=e,s=o(r=>r.deviceStates[a.friendly_name]??{}),t=JSON.stringify(s,null,4),n=Math.max(10,(t.match(/\n/g)||"").length+1);return l.jsx("textarea",{className:"textarea w-full",rows:n,readOnly:!0,value:t})}export{u as default};
