Skip to content

Commit

Permalink
Merge pull request #67 from claudegel/CRC8-update
Browse files Browse the repository at this point in the history
Crc8 update
  • Loading branch information
claudegel authored Aug 11, 2024
2 parents 17d6922 + ea1b121 commit c79bd37
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sinope": {
"version": "1.6.8",
"version": "1.6.9",
"local_location": "/custom_components/sinope/__init__.py",
"remote_location": "https://github.com/claudegel/sinope-gt125/tree/master/custom_components/__init__.py",
"visit_repo": "https://github.com/claudegel/sinope-gt125",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/sinope/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#REQUIREMENTS = ['PY_Sinope==0.1.7']
REQUIREMENTS = ['crc8==0.1.0']
VERSION = '1.6.8'
VERSION = '1.6.9'

DATA_DOMAIN = 'data_' + DOMAIN

Expand Down
6 changes: 5 additions & 1 deletion custom_components/sinope/crc8.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import sys

__author__="Nicco Kunzmann"
__version__="0.2.0"
__version__="0.2.1"

PY2 = sys.version_info[0] == 2

Expand Down Expand Up @@ -92,6 +92,8 @@ def update(self, bytes_):
"""
self._update(bytes_)

return self

def digest(self):
"""Return the digest of the bytes passed to the update() method so far.
Expand Down Expand Up @@ -153,4 +155,6 @@ def reset(self):
"""Resets the hash object to its initial state."""
self._sum = self._initial_start

return self

__all__ = ['crc8']
2 changes: 1 addition & 1 deletion custom_components/sinope/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"dependencies": [],
"codeowners": ["@claudegel"],
"requirements": ["crc8==0.1.0"],
"version": "1.6.8"
"version": "1.6.9"
}

0 comments on commit c79bd37

Please sign in to comment.