From 76d7802650ac269e2cb89f7de39d39670903a9a9 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Tue, 28 May 2019 12:11:32 +0200 Subject: [PATCH] Do not recompile on version change --- esphome/writer.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/esphome/writer.py b/esphome/writer.py index cfda7bd0b6..ec99ade041 100644 --- a/esphome/writer.py +++ b/esphome/writer.py @@ -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: