Batch of Component(s) -> Integration(s) (#24972)
This commit is contained in:
1 parent
e75c9efb3f
commit
31f569ada9
27 files changed
+34
-34
No files matched your search
@@ -36,7 +36,7 @@ def is_on(hass, entity_id=None):
|
||||
continue
|
||||
|
||||
if not hasattr(component, 'is_on'):
|
||||
_LOGGER.warning("Component %s has no is_on method.", domain)
|
||||
_LOGGER.warning("Integration %s has no is_on method.", domain)
|
||||
continue
|
||||
|
||||
if component.is_on(ent_id):
|
||||
|
||||
Reference in new issue
Block a user