Eliminate needless async_add_job invocation of async_add_devices (#6864)

This commit is contained in:
David McNett authored and Paulus Schoutsen committed 2017-04-03 00:01:53 -07:00
1 parent f4d2ece2fe
commit c27a526f5b
4 files changed
+4 -4

No files matched your search

@@ -32,7 +32,7 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
InsteonPLMBinarySensorDevice(hass, plm, address, name)
)
hass.async_add_job(async_add_devices(device_list))
async_add_devices(device_list)
class InsteonPLMBinarySensorDevice(BinarySensorDevice):