feat: add current room occupancy endpoint

This commit is contained in:
2026-05-16 20:55:00 +02:00
parent 8182776701
commit e4e4065c2b
3 changed files with 57 additions and 5 deletions
+1
View File
@@ -71,6 +71,7 @@ defmodule Localiser.Web.Router do
resources "/floors", FloorController, except: [:new, :edit]
resources "/floors/:floor_id/rooms", RoomController, except: [:new, :edit]
get "/tags/occupancy", TagController, :occupancy
resources "/tags", TagController, except: [:new, :edit]
# Sensors