Skip to content

Commit 3a48b14

Browse files
authored
0.6.2 Release
2 parents 0236426 + 3c5f130 commit 3a48b14

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ language: python
22
matrix:
33
fast_finish: true
44
include:
5-
- python: "3.6"
5+
- python: "3.7"
66
env: TOXENV=lint
7-
- python: "3.6"
8-
env: TOXENV=py36
97
- python: "3.7"
108
env: TOXENV=py37
119
- python: "3.8"

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ def is_raspberry_pi(raise_on_errors=False):
4848
return True
4949

5050

51-
requires = ['pyserial-asyncio',
52-
'zigpy>=0.20.1.a3',
53-
]
51+
requires = [
52+
'pyserial-asyncio',
53+
'zigpy>=0.22.2',
54+
]
55+
5456
if is_raspberry_pi():
5557
requires.append('RPi.GPIO')
5658

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py36, py37, py38, lint
7+
envlist = py37, py38, lint
88
skip_missing_interpreters = True
99

1010
[testenv]

zigpy_zigate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MAJOR_VERSION = 0
22
MINOR_VERSION = 6
3-
PATCH_VERSION = '1'
3+
PATCH_VERSION = '2'
44
__short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
55
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)

zigpy_zigate/types.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,12 @@ def serialize(self):
129129
return super().serialize()[::-1]
130130

131131

132-
class NWK(zigpy.types.HexRepr, uint16_t):
133-
pass
132+
class NWK(uint16_t):
133+
def __repr__(self):
134+
return "0x{:04x}".format(self)
135+
136+
def __str__(self):
137+
return "0x{:04x}".format(self)
134138

135139

136140
class ADDRESS_MODE(uint8_t, enum.Enum):

0 commit comments

Comments
 (0)