Limit spamming the MQTT server

This commit is contained in:
Adrian Jagielak
2025-07-23 22:31:26 +02:00
parent a0c3c67926
commit 8af915cebc
2 changed files with 24 additions and 6 deletions

3
futurehome/src/utils.ts Normal file
View File

@@ -0,0 +1,3 @@
function delay(ms: number) {
return new Promise(resolve => setTimeout(resolve, ms));
}