Skip to content

Commit

Permalink
Added unit symbol for range actuator (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
djesic authored Aug 7, 2020
1 parent f262187 commit e51b135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_json_registration_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def test_full_device_registration_request(self):
+ ' "reference": "SL",'
+ ' "unit": {'
+ ' "readingTypeName": "RANGE (ACTUATOR)",'
+ ' "symbol": ""'
+ ' "symbol": "count"'
+ " },"
+ ' "description": "",'
+ ' "minimum": 0,'
Expand Down
2 changes: 1 addition & 1 deletion wolk_gateway_module/model/actuator_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(
if data_type == DataType.NUMERIC:
self.unit = {
"readingTypeName": "RANGE (ACTUATOR)",
"symbol": "",
"symbol": "count",
}
elif data_type == DataType.BOOLEAN:
self.unit = {
Expand Down

0 comments on commit e51b135

Please sign in to comment.