diff --git a/src/util/api-homeassistant.ts b/src/util/api-homeassistant.ts index 6810d29..ab2cc5c 100644 --- a/src/util/api-homeassistant.ts +++ b/src/util/api-homeassistant.ts @@ -1,6 +1,6 @@ import axios from "axios"; import { Config } from "../config/config.js"; -import { logInfo, logWarning } from "./logger.js"; +import { logWarning } from "./logger.js"; type HomeAssistantEntity = { entity_id: string; @@ -88,7 +88,7 @@ async function sendRequestToHomeAssistantStates( entity_id: string, ): Promise { const url = `${Config.homeassistant.api_url}states/"${entity_id}` - logInfo(`sending request to ${url}`) + //logInfo(`sending request to ${url}`) const response = await axios.get( url, @@ -106,7 +106,7 @@ async function sendRequestToHomeAssistantWebhook( webhook_id: string, ): Promise { const url = `${Config.homeassistant.api_url}webhook/${webhook_id}` - logInfo(`sending request to ${url}`) + //logInfo(`sending request to ${url}`) const response = await axios.post(url);