Do not recompile on version change

This commit is contained in:
Otto Winter 2019-05-28 12:11:32 +02:00
parent 9be16916b7
commit 76d7802650
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -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: