From b060a4adc62b40ed2686854b9614be4018f534bb Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Tue, 1 Nov 2022 14:39:53 +0100 Subject: [PATCH] lower HassOverview refresh interval --- src/components/HAssOverview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/HAssOverview.tsx b/src/components/HAssOverview.tsx index b1bf7e2..5c7fcd1 100644 --- a/src/components/HAssOverview.tsx +++ b/src/components/HAssOverview.tsx @@ -2,7 +2,7 @@ import * as React from "react" import { HAssStates } from "../lib/interfaces"; import * as styles from "../styles/containers/HomeAssistant.module.css"; -const HASS_REFRESH_INTERVAL = 15 * 60 * 1000; +const HASS_REFRESH_INTERVAL = 5 * 60 * 1000; const HomeAssistant = ({ hassUrl, token }: { hassUrl: string, token: string }) => { const [states, setStates] = React.useState({