Price and inflexible device sensors data to connectivity table on asset status page #1102
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Start adding consumption and production price sensors + inflexible device sensors linked to an asset to asset status page
Look & Feel
On asset status page there is a new column "Relation to asset" that shows if an asset owns this sensor, or this sensor is linked to asset via consumption / production_price_sensor_id or inflexible_device_sensors
How to test
Open status page for some asset without linked price / inflexible device sensors.
Verify that "Data connectivity" table contains only this asset sensors + their relation to an asset is "included device".
Update an asset - e.g set some of its sensors as a consumption price sensor. Check that this sensor ownership on a status page now equals to "ownership; consumption price".
Update an asset - add some other asset sensor as its e.g inflexible device sensor. Check that this sensor appears on asset status page with "inflexible device" ownership
Further Improvements
Related Items