1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-27 12:14:35 +01:00

add_devices -> add_entities (#16171)

* add_devices -> add_entities

* Lint

* PyLint

* Revert external method in scsgate
This commit is contained in:
Paulus Schoutsen
2018-08-24 16:37:30 +02:00
committed by GitHub
parent 37fd438717
commit 994b829cb4
839 changed files with 2121 additions and 2008 deletions

View File

@@ -21,7 +21,7 @@ def init(empty=False):
]
async def async_setup_platform(hass, config, async_add_devices_callback,
async def async_setup_platform(hass, config, async_add_entities_callback,
discovery_info=None):
"""Find and return test switches."""
async_add_devices_callback(DEVICES)
async_add_entities_callback(DEVICES)