Skip to content

Commit

Permalink
Merge pull request #88 from airalab/dev
Browse files Browse the repository at this point in the history
fix model field in env box
  • Loading branch information
Vourhey authored Apr 27, 2024
2 parents fea4c40 + 2d37283 commit f456228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion connectivity/src/sensors/environmental_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __post_init__(self) -> None:

super().__post_init__()
self.id = str(self.data["esp8266id"])
self.model = self.data.get("model", SDS011_MODEL)
self.model = int(self.data.get("model", SDS011_MODEL))
self.public = self.generate_pubkey(str(self.id))
self.donated_by = str(self.data.get("donated_by", ""))
sensors_data = self.data["sensordatavalues"]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sensors_connectivity"
version = "1.6.1"
version = "1.6.2"
description = "Robonomics package to read data from sensors and publish to different output channels"
authors = [
"Vadim Manaenko <[email protected]>",
Expand Down

0 comments on commit f456228

Please sign in to comment.