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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user