Bump platformio to 5.2.0 (#2291)

This commit is contained in:
Otto Winter 2021-09-13 21:16:13 +02:00 committed by Jesse Hills
parent 460a144ca8
commit 39a18fb358
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
3 changed files with 6 additions and 5 deletions

View File

@ -24,7 +24,7 @@ TYPE_LINT = 'lint'
TYPES = [TYPE_DOCKER, TYPE_HA_ADDON, TYPE_LINT] TYPES = [TYPE_DOCKER, TYPE_HA_ADDON, TYPE_LINT]
BASE_VERSION = "3.6.0" BASE_VERSION = "4.2.0"
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()

View File

@ -4,9 +4,6 @@ import time
from typing import Dict, Optional from typing import Dict, Optional
from zeroconf import ( from zeroconf import (
_CLASS_IN,
_FLAGS_QR_QUERY,
_TYPE_A,
DNSAddress, DNSAddress,
DNSOutgoing, DNSOutgoing,
DNSRecord, DNSRecord,
@ -15,6 +12,10 @@ from zeroconf import (
Zeroconf, Zeroconf,
) )
_CLASS_IN = 1
_FLAGS_QR_QUERY = 0x0000 # query
_TYPE_A = 1
class HostResolver(RecordUpdateListener): class HostResolver(RecordUpdateListener):
def __init__(self, name: str): def __init__(self, name: str):

View File

@ -8,7 +8,7 @@ tzlocal==2.1
pytz==2021.1 pytz==2021.1
pyserial==3.5 pyserial==3.5
ifaddr==0.1.7 ifaddr==0.1.7
platformio==5.1.1 platformio==5.2.0
esptool==3.1 esptool==3.1
click==7.1.2 click==7.1.2
esphome-dashboard==20210908.0 esphome-dashboard==20210908.0