mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Do not recompile on version change
This commit is contained in:
parent
9be16916b7
commit
76d7802650
1 changed files with 0 additions and 2 deletions
|
@ -130,8 +130,6 @@ def storage_should_clean(old, new): # type: (StorageJSON, StorageJSON) -> bool
|
||||||
if old is None:
|
if old is None:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if old.esphome_version != new.esphome_version:
|
|
||||||
return True
|
|
||||||
if old.src_version != new.src_version:
|
if old.src_version != new.src_version:
|
||||||
return True
|
return True
|
||||||
if old.arduino_version != new.arduino_version:
|
if old.arduino_version != new.arduino_version:
|
||||||
|
|
Loading…
Reference in a new issue