Make Switch not inherit from Component

This commit is contained in:
Otto Winter 2018-11-10 14:07:11 +01:00
parent 04dc848620
commit 58f4fa53d0
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -131,7 +131,7 @@ def to_code(config):
remote = None
for remote in get_variable(config[CONF_REMOTE_TRANSMITTER_ID]):
yield
rhs = App.register_component(transmitter_base(config))
rhs = transmitter_base(config)
transmitter = Pvariable(config[CONF_TRANSMITTER_ID], rhs)
if CONF_REPEAT in config: