mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 14:18:14 +00:00
fix lint
This commit is contained in:
parent
a445ff09f9
commit
35259fb4dc
@ -205,9 +205,6 @@ class _SplitDefault(cv.Optional):
|
||||
def default(self):
|
||||
keys = []
|
||||
if CORE.is_esp32:
|
||||
from esphome.components.esp32 import get_esp32_variant
|
||||
from esphome.components.esp32.const import VARIANT_ESP32
|
||||
|
||||
variant = get_esp32_variant().replace(VARIANT_ESP32, "").lower()
|
||||
framework = CORE.target_framework.replace("esp-", "")
|
||||
if variant:
|
||||
|
Loading…
x
Reference in New Issue
Block a user