1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-04 12:22:20 +01:00

fix typing

This commit is contained in:
J. Nick Koston
2025-08-14 10:06:48 -05:00
parent d42d9fa41e
commit 7e7bfb00aa

View File

@@ -80,7 +80,7 @@ def replace_file_content(text, pattern, repl):
return content_new, count
def storage_should_clean(old: StorageJSON, new: StorageJSON) -> bool:
def storage_should_clean(old: StorageJSON | None, new: StorageJSON) -> bool:
if old is None:
return True