anchor.diff: -{ lib, python3, platformio, esptool, git, protobuf3_7, fetchpatch }:
  +{ lib, python3, platformio, esptool, git, protobuf3_10, fetchpatch }:
   
   let
     python = python3.override {
  
positive.code:   propagatedBuildInputs = with python.pkgs; [
      voluptuous pyyaml paho-mqtt colorlog
      tornado protobuf tzlocal pyserial ifaddr
    ];
  
    makeWrapperArgs = [
      # platformio is used in esphomeyaml/platformio_api.py
  
negative.code:         };
        });
        protobuf = super.protobuf.override {
          protobuf = protobuf3_10;
        };
  
      };
    };
  
  in python.pkgs.buildPythonApplication rec {
    pname = "esphome";
    version = "1.14.1";
  
    src = python.pkgs.fetchPypi {
      inherit pname version;
      sha256 = "1hw1q2fck9429077w207rk65a1krzyi6qya5pzjkpw4av5s0v0g3";
    };
  
    ESPHOME_USE_SUBPROCESS = "";
  