import { Thermometer, BatteryLow } from 'lucide-react' import type { ZoneStatus } from '../types' import { ROOM_STATE_LABELS } from '../types' export default function ZoneCard({ zone, onClick }: { zone: ZoneStatus; onClick: () => void }) { const unhealthy = zone.devices.filter(d => d.health_state !== 'healthy').length const lowBattery = zone.devices.some(d => d.battery_pct != null && d.battery_pct < 30) return (