Reorganized some core methods
This commit is contained in:
1 parent
6f05548ec8
commit
c08676aa81
11 files changed
+106
-90
No files matched your search
@@ -36,7 +36,7 @@ def setup(hass, config):
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
device_entity_ids = hass.get_entity_ids(device_tracker.DOMAIN)
|
||||
device_entity_ids = hass.states.entity_ids(device_tracker.DOMAIN)
|
||||
|
||||
if not device_entity_ids:
|
||||
logger.error("No devices found to track")
|
||||
|
||||
Reference in new issue
Block a user