Skip to content

Commit f456228

Browse files
authored
Merge pull request #88 from airalab/dev
fix model field in env box
2 parents fea4c40 + 2d37283 commit f456228

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

connectivity/src/sensors/environmental_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __post_init__(self) -> None:
2020

2121
super().__post_init__()
2222
self.id = str(self.data["esp8266id"])
23-
self.model = self.data.get("model", SDS011_MODEL)
23+
self.model = int(self.data.get("model", SDS011_MODEL))
2424
self.public = self.generate_pubkey(str(self.id))
2525
self.donated_by = str(self.data.get("donated_by", ""))
2626
sensors_data = self.data["sensordatavalues"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sensors_connectivity"
3-
version = "1.6.1"
3+
version = "1.6.2"
44
description = "Robonomics package to read data from sensors and publish to different output channels"
55
authors = [
66
"Vadim Manaenko <vadim.razorq@gmail.com>",

0 commit comments

Comments
 (0)