Fix discovery (#2305)
This commit is contained in:
parent
5c601f1d5f
commit
a65a122464
7 changed files with 7 additions and 7 deletions
|
@ -109,7 +109,7 @@ def setup(hass, config): # pylint: disable=too-many-locals
|
|||
device, persistence_file, baud_rate, tcp_port)
|
||||
|
||||
for component in 'sensor', 'switch', 'light', 'binary_sensor':
|
||||
discovery.load_platform(hass, component, DOMAIN, None, config)
|
||||
discovery.load_platform(hass, component, DOMAIN, {}, config)
|
||||
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue