zigbee2mqtt-windfront
Version:
[](https://npmjs.org/package/zigbee2mqtt-windfront) [](https://github.com/Nerivec/zigbee2mqtt-windf
2 lines (1 loc) • 1.04 kB
JavaScript
import{a as o,k as t,j as e}from"./index-Cg_dwqpD.js";import{A as i,R as m}from"./RecallRemove-BrzsS3Vg.js";import"./envs-CSqIi4cL.js";import"./DashboardFeatureWrapper-DAZ17bMu.js";import"./Feature-CgMuzQp3.js";import"./DisplayValue-DcXMP9Gf.js";import"./isObject--vsEa_js.js";import"./_createCompounder-Dcznv9Az.js";import"./isArray-uIIfUpwr.js";import"./index-BwjSpuUu.js";import"./InputField-D9KJc30P.js";import"./SelectField-dfeWrxvV.js";function w({sourceIdx:r,device:a}){const s=o(t(d=>d.deviceStates[r][a.friendly_name]));return e.jsxs("div",{className:"flex flex-row flex-wrap gap-4 w-full",children:[e.jsx("div",{className:"card card-border bg-base-200 border-base-300 rounded-box shadow-md flex-1",children:e.jsx("div",{className:"card-body p-4",children:e.jsx(i,{sourceIdx:r,target:a,deviceState:s??{}})})}),e.jsx("div",{className:"card card-border bg-base-200 border-base-300 rounded-box shadow-md flex-1",children:e.jsx("div",{className:"card-body p-4",children:e.jsx(m,{sourceIdx:r,target:a})})})]})}export{w as default};