Skip to content

Commit

Permalink
Merge pull request #14 from darkrain-nl/remove_sys
Browse files Browse the repository at this point in the history
Removed sys from imports as no longer used
  • Loading branch information
darkrain-nl committed Feb 17, 2024
2 parents 4308161 + 1e2c3d5 commit 96137fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.1] - 2024-02-13
## [0.8.2] - 2024-02-17
### Changed
- Removed sys from imports as no longer used

### Added
- Added more logging information to the log for the addon and for the Python script

Expand Down
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "S0PCM Reader"
description: "S0PCM reader based on docker-s0pcm-reader"
version: "0.8.1"
version: "0.8.2"
slug: "s0pcm_reader"
url: "https://github.com/darkrain-nl/home-assistant-addon-s0pcm-reader"
codenotary: jan@darkrain.nl
Expand Down
5 changes: 2 additions & 3 deletions rootfs/usr/src/s0pcm-reader.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

import sys
import datetime
import time
import threading
Expand Down Expand Up @@ -92,7 +91,7 @@
config = {}
measurement = {}
measurementshare = {}
s0pcmreaderversion = '2024.02.13'
s0pcmreaderversion = '2024.02.17'

# ------------------------------------------------------------------------------------
# Parameters
Expand Down Expand Up @@ -668,6 +667,6 @@ def run(self):
t1.join()
t2.join()

logger.debug('Stop: s0pcm-reader')
logger.info('Stop: s0pcm-reader')

# End

0 comments on commit 96137fa

Please sign in to comment.