Skip to content

Commit

Permalink
15680 org.openhab.binding.kermi minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Descher <marco@descher.at>
  • Loading branch information
col-panic committed Oct 11, 2023
1 parent 02899a4 commit 69db59c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class KermiBindingConstants {
public static final String WELL_KNOWN_NAME_COMB_HEATPUMP_STATE = "Rubin_CombinedHeatpumpState";
public static final String WELL_KNOWN_NAME_COMB_HEATPUMP_CURR_COP = "Rubin_CurrentCOP";
public static final String WELL_KNOWN_NAME_CURR_OUT_CAP = "Rubin_CurrentOutputCapacity";
public static final String WELL_KNOWN_NAME_HEAT_AIR_TEMPERATORE = "LuftTemperatur";
public static final String WELL_KNOWN_NAME_HEAT_AIR_TEMPERATURE = "LuftTemperatur";

// All Urls
public static final String HPM_DEVICE_GETDEVICESBYFILTER_URL = "http://%IP%/api/Device/GetDevicesByFilter/00000000-0000-0000-0000-000000000000";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ public synchronized String executeUrl(String httpMethod, String url, String cont

if (attemptCount >= 3) {
logger.debug("Failed connecting to {} after {} attempts.", url, attemptCount, lastException);
// throw new FroniusCommunicationException("Unable to connect", lastException);
}

logger.debug("HTTP error on attempt #{} {}", attemptCount, url);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ public void initialize() {
busAddress = config.address.toString();
}
logger.debug("Initializing busAddress {}", busAddress);
// this is important so FroniusBridgeHandler::childHandlerInitialized gets called
Bridge bridge = getBridge();
if (bridge == null || bridge.getHandler() == null) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.BRIDGE_UNINITIALIZED);
Expand Down

0 comments on commit 69db59c

Please sign in to comment.