Skip to content

Commit

Permalink
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fastybird_fb_bus_connector/__init__.py
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@

from .bootstrap import create_connector

__version__ = "0.8.0"
__version__ = "0.9.0"

__all__ = ["connector", "bootstrap"]

4 changes: 4 additions & 0 deletions fastybird_fb_bus_connector/api/v1parser.py
Original file line number Diff line number Diff line change
@@ -674,6 +674,8 @@ def __parse_single_register_value(
DataType.INT,
DataType.FLOAT,
DataType.BOOLEAN,
DataType.BUTTON,
DataType.SWITCH,
):
return register_type, (
register_address,
@@ -767,6 +769,8 @@ def __parse_multiple_registers_values(
DataType.INT,
DataType.FLOAT,
DataType.BOOLEAN,
DataType.BUTTON,
DataType.SWITCH,
):
parsed_value = list(map(int, payload[position_byte:]))

0 comments on commit 28b585a

Please sign in to comment.