from fastapi import APIRouter from models.schemas import TempSnapshot from services.temps import build_temp_snapshot router = APIRouter(prefix="/api/temps", tags=["temps"]) @router.get("", response_model=TempSnapshot) async def get_temps(): """Per-enclosure temperature snapshot: named SES sensors + hotspot.""" return await build_temp_snapshot()