mirror of
https://github.com/esphome/esphome.git
synced 2025-09-28 08:02:23 +01:00
Warn if not registered properly
This commit is contained in:
@@ -8,7 +8,7 @@ from .. import uart_ns
|
||||
|
||||
DEPENDENCIES = ['uart']
|
||||
|
||||
UARTSwitch = uart_ns.class_('UARTSwitch', switch.Switch, uart.UARTDevice)
|
||||
UARTSwitch = uart_ns.class_('UARTSwitch', switch.Switch, uart.UARTDevice, cg.Component)
|
||||
|
||||
|
||||
def validate_data(value):
|
||||
|
Reference in New Issue
Block a user