mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[siemensrds] Hide already instantiated Things in the InBox (#9808)
* [siemensrds] null value check * [siemensrds] representation property Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
This commit is contained in:
parent
41f8ae6acc
commit
18d06bbb8a
@ -299,7 +299,7 @@ public class RdsDataPoints {
|
||||
@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");
|
||||
|
@ -113,6 +113,7 @@
|
||||
<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">
|
||||
|
Loading…
Reference in New Issue
Block a user