From 9afe2f84342a5e6036144802549abcfabde2f1ed Mon Sep 17 00:00:00 2001 From: Andrii Balitskyi <10balian10@gmail.com> Date: Thu, 15 May 2025 15:52:48 +0200 Subject: [PATCH] Generate all the noise_sensor routes and endpoints --- src/data/paths.yaml | 14 ++++++++++++++ src/lib/reference.ts | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/data/paths.yaml b/src/data/paths.yaml index 4b9238aaa..920507980 100644 --- a/src/data/paths.yaml +++ b/src/data/paths.yaml @@ -80,3 +80,17 @@ title: Enrollment Automations resources: - enrollment_automation + +/noise_sensors: + title: Noise Sensors + resources: + - noise_sensor + +/noise_sensors/simulate: + title: Noise Sensor Simulations + resources: [] + +/noise_sensors/noise_threshold: + title: Noise Thresholds + resources: + - noise_threshold diff --git a/src/lib/reference.ts b/src/lib/reference.ts index adae39a57..3ca5953f5 100644 --- a/src/lib/reference.ts +++ b/src/lib/reference.ts @@ -57,7 +57,8 @@ export const reference = ( !route.path.startsWith('/acs') && !route.path.startsWith('/thermostats') && !route.path.startsWith('/phones') && - !route.path.startsWith('/user_identities') + !route.path.startsWith('/user_identities') && + !route.path.startsWith('/noise_sensors') ) { continue }