1
0
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:
Otto Winter
2019-05-21 12:23:38 +02:00
parent a323679771
commit 999c1a5357
9 changed files with 30 additions and 6 deletions

View File

@@ -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):