mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix area name unchanged gets written (#69813)
This commit is contained in:
parent
f99b6004ea
commit
287edf9ac0
@ -145,7 +145,7 @@ class AreaRegistry:
|
||||
|
||||
normalized_name = None
|
||||
|
||||
if name is not UNDEFINED:
|
||||
if name is not UNDEFINED and name != old.name:
|
||||
normalized_name = normalize_area_name(name)
|
||||
|
||||
if normalized_name != old.normalized_name and self.async_get_area_by_name(
|
||||
|
Loading…
x
Reference in New Issue
Block a user