Skip to content

Verify monsoon_data() raw Parameter Functionality #13

@reyg3

Description

@reyg3

I'm not sure the bool values being passed for the optional raw parameter in monsoon_data() are processed correctly. This gets processed by TypeScript but the data returned for passing either True or False does not appear to be different.

The comment for that param reads:
Default is False. If True the data will run through our delta calculation to return totals for all sensors during the monsoon period. When used raw adds datetime to return.

This comment can probably be written better but what I think is supposed to happen is:
True: the delta calculation between each sensor's readings is returned
False: the raw data is returned ex. the total amount of water currently being stored is reported at each report interval

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions