fix biome
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
const token = import.meta.env.VITE_HA_TOKEN;
|
const token = import.meta.env.VITE_HA_TOKEN;
|
||||||
|
|
||||||
|
|
||||||
async function fetchTentHumidity() {
|
async function fetchTentHumidity() {
|
||||||
if (!token) {
|
if (!token) {
|
||||||
console.error("HA token not found");
|
console.error("HA token not found");
|
||||||
@@ -8,7 +7,6 @@ async function fetchTentHumidity() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const url = `https://home.rivercry.com/api/states/sensor.third_reality_inc_3rths0224z_luftfeuchtigkeit_2`;
|
const url = `https://home.rivercry.com/api/states/sensor.third_reality_inc_3rths0224z_luftfeuchtigkeit_2`;
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
method: "GET",
|
method: "GET",
|
||||||
|
|||||||
Reference in New Issue
Block a user