Register components properly

This commit is contained in:
Otto Winter
2019-05-24 16:20:28 +02:00
parent 999c1a5357
commit bd45f6bd8e
6 changed files with 14 additions and 12 deletions
@@ -6,7 +6,8 @@ from .. import homeassistant_ns
DEPENDENCIES = ['api']
HomeassistantBinarySensor = homeassistant_ns.class_('HomeassistantBinarySensor',
binary_sensor.BinarySensor)
binary_sensor.BinarySensor,
cg.Component)
CONFIG_SCHEMA = binary_sensor.BINARY_SENSOR_SCHEMA.extend({
cv.GenerateID(): cv.declare_id(HomeassistantBinarySensor),