Skip to content

Commit

Permalink
fixed #1, pushed version to 0.0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
ckarrie committed Apr 12, 2023
1 parent 6911501 commit ab26c6e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions build.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ cd ~/workspace/src/oekofen-api
```

### Push git changes
- Neue Version in der setup.py eintragen 0.0.22
- Neue Version in der setup.py eintragen 0.0.23
- Mit git changes pushen!!

### github Release erstellen
- https://github.com/ckarrie/oekofen-api/releases/new
- Tag (create new): v0.0.22
- Title: v0.0.22
- Tag (create new): v0.0.23
- Title: v0.0.23
- Button "Publish Release"

### Anpassen in setup.py
```
nano setup.py
```
```python
VERSION = "0.0.22"
VERSION = "0.0.23"

```

Expand All @@ -60,7 +60,7 @@ twine upload dist/*
Lokal updaten

```
pip install oekofen-api==0.0.22
pip install oekofen-api==0.0.23
```

## Update homeassistant-oekofen
Expand Down
2 changes: 1 addition & 1 deletion oekofen_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def get_value(self, value=None):
if value is not None:
if self.factor is not None:
# i.e. temperature or zs (zehntelsekunden, 0,1 seconds)
v = value * self.factor
v = float(value) * self.factor
return float("{:.2f}".format(round(v, 2)))
if self.format == const.OFF_ON_TEXT:
# bool on/off
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
with open("README.md", "r") as f:
long_description = f.read()

VERSION = "0.0.22"
VERSION = "0.0.23"

setup(
name="oekofen_api",
Expand Down

0 comments on commit ab26c6e

Please sign in to comment.