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