mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 13:24:56 +02:00
AUTO_LOAD sensor for shelly_dimmer (#6223)
This commit is contained in:
committed by
Jesse Hills
parent
fb94778c04
commit
373569d86d
@@ -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_(
|
||||||
|
|||||||
Reference in New Issue
Block a user