mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2026-01-11 18:23:06 +00:00
Limit spamming the MQTT server
This commit is contained in:
3
futurehome/src/utils.ts
Normal file
3
futurehome/src/utils.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
function delay(ms: number) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
Reference in New Issue
Block a user