mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
Make Switch not inherit from Component
This commit is contained in:
parent
04dc848620
commit
58f4fa53d0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue