mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 13:00:11 +00:00
Fix entity registry comments (#20357)
This commit is contained in:
@@ -127,8 +127,8 @@ class EntityRegistry:
|
||||
device_id=device_id,
|
||||
# When we changed our slugify algorithm, we invalidated some
|
||||
# stored entity IDs with either a __ or ending in _.
|
||||
# Fix introduced in 0.86 (Jan 23, 2018). Next line can be
|
||||
# removed when we release 1.0 or in 2019.
|
||||
# Fix introduced in 0.86 (Jan 23, 2019). Next line can be
|
||||
# removed when we release 1.0 or in 2020.
|
||||
new_entity_id='.'.join(slugify(part) for part
|
||||
in entity_id.split('.', 1)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user