* [siemensrds] null value check
* [siemensrds] representation property
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@Nullable
RdsDataPoints newPoints = GSON.fromJson(json, RdsDataPoints.class);
- Map<String, @Nullable BasePoint> newPointsMap = newPoints.points;
+ Map<String, @Nullable BasePoint> newPointsMap = newPoints != null ? newPoints.points : null;
if (newPointsMap == null) {
throw new RdsCloudException("new points map empty");
<property name="vendor">Siemens</property>
<property name="modelId">RDS</property>
</properties>
+ <representation-property>plantId</representation-property>
<config-description>
<parameter name="plantId" type="text" required="true">