1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

AUTO_LOAD sensor for shelly_dimmer (#6223)

This commit is contained in:
Keith Burzinski
2024-02-15 15:47:42 -06:00
committed by Jesse Hills
parent fb94778c04
commit 373569d86d

View File

@@ -29,7 +29,8 @@ from esphome.const import (
from esphome.core import HexInt, CORE
DOMAIN = "shelly_dimmer"
DEPENDENCIES = ["sensor", "uart", "esp8266"]
AUTO_LOAD = ["sensor"]
DEPENDENCIES = ["uart", "esp8266"]
shelly_dimmer_ns = cg.esphome_ns.namespace("shelly_dimmer")
ShellyDimmer = shelly_dimmer_ns.class_(