Do not recompile on version change

This commit is contained in:
Otto Winter 2019-05-28 12:11:32 +02:00
parent 4a5365f6a0
commit 9fa1a334e6
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:
return True
if old.esphome_version != new.esphome_version:
return True
if old.src_version != new.src_version:
return True
if old.arduino_version != new.arduino_version: