feat: add homeassistant integration (#578)

This commit is contained in:
Manuel authored and GitHub committed 2024-06-10 21:16:39 +02:00
1 parent 19498854fc
commit 2e782ae442
28 files changed
+468 -31

No files matched your search

+4
View File
@@ -15,3 +15,7 @@ export const formatNumber = (value: number, decimalPlaces: number) => {
}
return value.toFixed(decimalPlaces);
};
export const randomInt = (min: number, max: number) => {
return Math.floor(Math.random() * (max - min + 1) + min);
};