Skip to content

Commit c79bd37

Browse files
authored
Merge pull request #67 from claudegel/CRC8-update
Crc8 update
2 parents 17d6922 + ea1b121 commit c79bd37

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

custom_components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sinope": {
3-
"version": "1.6.8",
3+
"version": "1.6.9",
44
"local_location": "/custom_components/sinope/__init__.py",
55
"remote_location": "https://github.com/claudegel/sinope-gt125/tree/master/custom_components/__init__.py",
66
"visit_repo": "https://github.com/claudegel/sinope-gt125",

custom_components/sinope/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
#REQUIREMENTS = ['PY_Sinope==0.1.7']
4545
REQUIREMENTS = ['crc8==0.1.0']
46-
VERSION = '1.6.8'
46+
VERSION = '1.6.9'
4747

4848
DATA_DOMAIN = 'data_' + DOMAIN
4949

custom_components/sinope/crc8.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import sys
3535

3636
__author__="Nicco Kunzmann"
37-
__version__="0.2.0"
37+
__version__="0.2.1"
3838

3939
PY2 = sys.version_info[0] == 2
4040

@@ -92,6 +92,8 @@ def update(self, bytes_):
9292
"""
9393
self._update(bytes_)
9494

95+
return self
96+
9597
def digest(self):
9698
"""Return the digest of the bytes passed to the update() method so far.
9799
@@ -153,4 +155,6 @@ def reset(self):
153155
"""Resets the hash object to its initial state."""
154156
self._sum = self._initial_start
155157

158+
return self
159+
156160
__all__ = ['crc8']

custom_components/sinope/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"dependencies": [],
66
"codeowners": ["@claudegel"],
77
"requirements": ["crc8==0.1.0"],
8-
"version": "1.6.8"
8+
"version": "1.6.9"
99
}

0 commit comments

Comments
 (0)