mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
Fix config merging with null (#3113)
This commit is contained in:
@@ -39,6 +39,8 @@ def merge_config(full_old, full_new):
|
||||
if not isinstance(old, list):
|
||||
return new
|
||||
return old + new
|
||||
elif new is None:
|
||||
return old
|
||||
|
||||
return new
|
||||
|
||||
|
||||
Reference in New Issue
Block a user