Lots of changes in this PR, sorry probably should have broken it up a little.
Main changes:
Added Grow Properties
Types are managed in a separate route only editable by admins
Grow Properties themselves contain the desired ranges for a plant's data
Added ability to create plant data
Currently the device identification is simply by passing the device ID - this will allows manual testing on the API, we will sort the proper device auth later.
You can see how this is created by looking at the swagger docs, you can have any number of sensor readings per plant data object, provided they are for a valid sensor.
Currently the timestamp is for a single plant data object, however we could change this to be per individual sensor reading depending on desired behaviour on device itself.
Note: Plant data can be read via the plant route: /plant/{id}/data
Additional changes:
Updating tests to cope with new additions (have not created new unit tests for the actual routes though)
Added grow duration to Plant Profiles
Added Plant Location (latitude, longitude) and Indoor marker to Plant objects
Lots of changes in this PR, sorry probably should have broken it up a little.
Main changes:
Additional changes: