feat: moisture processor logic

This commit is contained in:
Elias Renman
2023-06-18 12:15:12 +02:00
parent d9cdcfa7f4
commit a2cb9287da
5 changed files with 76 additions and 23 deletions

View File

@@ -24,7 +24,7 @@ export function registerCronjobs() {
});
}
function readMoistureLevels() {
export function readMoistureLevels() {
return iotClient
.get<MoistureResponse | undefined>("moisture/read")
.catch((err: AxiosError) => {