mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
renamed add_devices to async_add_devices according to hass naming scheme (#9485)
* renamed add_devices to async_add_devices according to hass naming scheme * replaced some occurencies of async_add_entites to async_add_devices * fixed unit test * fixed unit test
This commit is contained in:
committed by
Pascal Vizeli
parent
185ada2354
commit
a5a970709f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user