From 19b0c77999e29c2148b1bca110233c00c3fe4a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Wed, 27 Mar 2024 17:37:01 +0000 Subject: [PATCH] and this --- esphome/components/ebyte_lora/__init__.py | 2 +- esphome/components/ebyte_lora/switch/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/ebyte_lora/__init__.py b/esphome/components/ebyte_lora/__init__.py index e14a54c0b7..a823fd24b7 100644 --- a/esphome/components/ebyte_lora/__init__.py +++ b/esphome/components/ebyte_lora/__init__.py @@ -17,7 +17,7 @@ AUTO_LOAD = ["uart", "sensor", "text_sensor"] ebyte_lora_ns = cg.esphome_ns.namespace("ebyte_lora") EbyteLoraComponent = ebyte_lora_ns.class_( - "EbyteLora", cg.PollingComponent, uart.UARTDevice + "EbyteLoraComponent", cg.PollingComponent, uart.UARTDevice ) CONF_EBYTE_LORA = "ebyte_lora" CONF_PIN_AUX = "pin_aux" diff --git a/esphome/components/ebyte_lora/switch/__init__.py b/esphome/components/ebyte_lora/switch/__init__.py index eea696562f..b0dc10c5c0 100644 --- a/esphome/components/ebyte_lora/switch/__init__.py +++ b/esphome/components/ebyte_lora/switch/__init__.py @@ -3,7 +3,7 @@ import esphome.config_validation as cv from esphome.components import switch from .. import EbyteLoraComponent, CONF_EBYTE_LORA, ebyte_lora_ns -EbyteLoraSwitch = ebyte_lora_ns.class_("LoraSwitch", switch.Switch, cg.Component) +EbyteLoraSwitch = ebyte_lora_ns.class_("EbyteLoraSwitch", switch.Switch, cg.Component) PIN_TO_SEND = "pin_to_send" CONFIG_SCHEMA = (