From 52d0054f9d0b9df29a98181882ba5126f09d2e0d Mon Sep 17 00:00:00 2001 From: Jordan Zucker Date: Mon, 28 Oct 2024 10:11:21 -0700 Subject: [PATCH] Trying again with a local host --- esphome/components/loki/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/loki/__init__.py b/esphome/components/loki/__init__.py index 2a25d04915..767138b131 100644 --- a/esphome/components/loki/__init__.py +++ b/esphome/components/loki/__init__.py @@ -1,6 +1,6 @@ import esphome.codegen as cg import esphome.config_validation as cv -from esphome.const import CONF_ID, CONF_LOKI_HOST +from esphome.const import CONF_ID DEPENDENCIES = ["network"] @@ -10,7 +10,7 @@ LokiComponent = loki_component_ns.class_("LokiComponent", cg.Component) CONFIG_SCHEMA = cv.Schema( { cv.GenerateID(): cv.declare_id(LokiComponent), - cv.Optional(CONF_LOKI_HOST): cv.url, + cv.Optional("loki_host"): cv.url, } ).extend(cv.COMPONENT_SCHEMA)