lower HassOverview refresh interval
This commit is contained in:
parent
7eaa80ce37
commit
b060a4adc6
@ -2,7 +2,7 @@ import * as React from "react"
|
|||||||
import { HAssStates } from "../lib/interfaces";
|
import { HAssStates } from "../lib/interfaces";
|
||||||
import * as styles from "../styles/containers/HomeAssistant.module.css";
|
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 HomeAssistant = ({ hassUrl, token }: { hassUrl: string, token: string }) => {
|
||||||
const [states, setStates] = React.useState<HAssStates>({
|
const [states, setStates] = React.useState<HAssStates>({
|
||||||
|
Loading…
Reference in New Issue
Block a user