1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00: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

@@ -60,7 +60,7 @@ class TestSeason(unittest.TestCase):
CONFIG_ASTRONOMICAL = {'type': 'astronomical'}
CONFIG_METEOROLOGICAL = {'type': 'meteorological'}
def add_devices(self, devices):
def add_entities(self, devices):
"""Mock add devices."""
for device in devices:
self.DEVICE = device