diff --git a/dz3r-bootstrap/src/main/java/net/sf/dz3r/runtime/config/mqtt/MqttDeviceResolver.java b/dz3r-bootstrap/src/main/java/net/sf/dz3r/runtime/config/mqtt/MqttDeviceResolver.java index 362679fcc..8d9022e43 100644 --- a/dz3r-bootstrap/src/main/java/net/sf/dz3r/runtime/config/mqtt/MqttDeviceResolver.java +++ b/dz3r-bootstrap/src/main/java/net/sf/dz3r/runtime/config/mqtt/MqttDeviceResolver.java @@ -220,7 +220,7 @@ private Flux> getSwitches(Map> getFans() { return getFans(endpoint2adapter, fanConfigs); } @@ -251,7 +261,7 @@ private Flux> getFans(Map en var s = createFan( id, c.fanConfig().heartbeat(), - c.fanConfig().pace(), + getOrDefaultPace(c.fanConfig.pace(), Duration.ofMinutes(1), "fan=" + id), adapter, address, c.fanConfig.availabilityTopic());