1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-07 03:11:00 +01:00

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