mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +01:00
AUTO_LOAD sensor
for shelly_dimmer
(#6223)
This commit is contained in:
parent
fb94778c04
commit
373569d86d
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