mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 15:08:10 +01:00
AUTO_LOAD sensor
for shelly_dimmer
(#6223)
This commit is contained in:
parent
7baf091d47
commit
27a3a081c3
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ from esphome.const import (
|
||||||
from esphome.core import HexInt, CORE
|
from esphome.core import HexInt, CORE
|
||||||
|
|
||||||
DOMAIN = "shelly_dimmer"
|
DOMAIN = "shelly_dimmer"
|
||||||
DEPENDENCIES = ["sensor", "uart", "esp8266"]
|
AUTO_LOAD = ["sensor"]
|
||||||
|
DEPENDENCIES = ["uart", "esp8266"]
|
||||||
|
|
||||||
shelly_dimmer_ns = cg.esphome_ns.namespace("shelly_dimmer")
|
shelly_dimmer_ns = cg.esphome_ns.namespace("shelly_dimmer")
|
||||||
ShellyDimmer = shelly_dimmer_ns.class_(
|
ShellyDimmer = shelly_dimmer_ns.class_(
|
||||||
|
|
Loading…
Reference in a new issue