renamed add_devices to async_add_devices according to hass naming scheme (second try after failed #9485) (#9505)

This commit is contained in:
Julius Mittenzwei authored and Daniel Høyer Iversen committed 2017-09-20 01:15:20 -04:00
1 parent 3dbf951086
commit a5155a2609
11 files changed
+54 -56

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ def test_setup_platform(hass):
yield from spc.async_setup_platform(hass=hass,
config={},
async_add_entities=add_entities,
async_add_devices=add_entities,
discovery_info=zones)
assert len(added_entities) == 3