mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
Trying again with a local host
This commit is contained in:
parent
7736d36f6c
commit
52d0054f9d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue