mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
warn -> warning
This commit is contained in:
parent
022d6af6fc
commit
6e0c30d9f7
@ -34,7 +34,7 @@ def rewrite_legacy(config):
|
||||
if 'groups' in bridge_conf:
|
||||
groups = bridge_conf['groups']
|
||||
else:
|
||||
_LOGGER.warn("Legacy configuration format detected")
|
||||
_LOGGER.warning("Legacy configuration format detected")
|
||||
for i in range(1, 5):
|
||||
name_key = 'group_%d_name' % i
|
||||
if name_key in bridge_conf:
|
||||
|
Loading…
x
Reference in New Issue
Block a user