]> git.basschouten.com Git - openhab-addons.git/commitdiff
Remove SmartHome leftovers (#9283)
authorWouter Born <github@maindrain.net>
Tue, 8 Dec 2020 17:03:49 +0000 (18:03 +0100)
committerGitHub <noreply@github.com>
Tue, 8 Dec 2020 17:03:49 +0000 (18:03 +0100)
Signed-off-by: Wouter Born <github@maindrain.net>
64 files changed:
bundles/org.openhab.binding.astro/src/main/java/org/openhab/binding/astro/internal/config/AstroChannelConfig.java
bundles/org.openhab.binding.astro/src/main/java/org/openhab/binding/astro/internal/config/AstroThingConfig.java
bundles/org.openhab.binding.bluetooth.generic/src/main/java/org/openhab/binding/bluetooth/generic/internal/BluetoothUnit.java
bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/handler/BoschIndegoHandler.java
bundles/org.openhab.binding.caddx/src/main/java/org/openhab/binding/caddx/internal/discovery/CaddxDiscoveryService.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/handler/DeviceHandler.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/constants/EventResponseEnum.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/impl/DeviceStatusManagerImpl.java
bundles/org.openhab.binding.dmx/src/main/java/org/openhab/binding/dmx/internal/dmxoverethernet/SacnPacket.java
bundles/org.openhab.binding.dscalarm/src/main/java/org/openhab/binding/dscalarm/internal/discovery/DSCAlarmBridgeDiscovery.java
bundles/org.openhab.binding.dscalarm/src/main/java/org/openhab/binding/dscalarm/internal/discovery/DSCAlarmDiscoveryService.java
bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/discovery/EnOceanUsbSerialDiscoveryParticipant.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/handler/HomematicThingHandler.java
bundles/org.openhab.binding.homematic/src/main/resources/OH-INF/thing/bridge.xml
bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/LightStateConverter.java
bundles/org.openhab.binding.ihc/src/main/java/org/openhab/binding/ihc/internal/handler/IhcHandler.java
bundles/org.openhab.binding.irtrans/src/main/java/org/openhab/binding/irtrans/internal/handler/EthernetBridgeHandler.java
bundles/org.openhab.binding.kostalinverter/src/main/java/org/openhab/binding/internal/kostal/inverter/thirdgeneration/ThirdGenerationHandler.java
bundles/org.openhab.binding.max/src/main/java/org/openhab/binding/max/internal/discovery/MaxCubeBridgeDiscovery.java
bundles/org.openhab.binding.max/src/main/java/org/openhab/binding/max/internal/discovery/MaxDeviceDiscoveryService.java
bundles/org.openhab.binding.miele/src/main/java/org/openhab/binding/miele/internal/handler/ApplianceChannelSelector.java
bundles/org.openhab.binding.minecraft/src/main/java/org/openhab/binding/minecraft/internal/discovery/MinecraftDiscoveryService.java
bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/ChannelState.java
bundles/org.openhab.binding.mqtt.homeassistant/src/main/java/org/openhab/binding/mqtt/homeassistant/internal/AbstractComponent.java
bundles/org.openhab.binding.mqtt.homeassistant/src/main/java/org/openhab/binding/mqtt/homeassistant/internal/CChannel.java
bundles/org.openhab.binding.mqtt.homeassistant/src/main/java/org/openhab/binding/mqtt/homeassistant/internal/handler/HomeAssistantThingHandler.java
bundles/org.openhab.binding.mqtt.homie/src/main/java/org/openhab/binding/mqtt/homie/internal/homie300/Device.java
bundles/org.openhab.binding.mqtt.homie/src/main/java/org/openhab/binding/mqtt/homie/internal/homie300/Node.java
bundles/org.openhab.binding.mqtt.homie/src/main/java/org/openhab/binding/mqtt/homie/internal/homie300/NodeAttributes.java
bundles/org.openhab.binding.mqtt.homie/src/main/java/org/openhab/binding/mqtt/homie/internal/homie300/Property.java
bundles/org.openhab.binding.neato/src/main/java/org/openhab/binding/neato/internal/discovery/NeatoAccountDiscoveryService.java
bundles/org.openhab.binding.pulseaudio/src/main/java/org/openhab/binding/pulseaudio/internal/discovery/PulseaudioDeviceDiscoveryService.java
bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/discovery/RFXComDeviceDiscoveryService.java
bundles/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/SonosBindingConstants.java
bundles/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java
bundles/org.openhab.binding.tellstick/src/main/java/org/openhab/binding/tellstick/internal/discovery/TellstickDiscoveryService.java
bundles/org.openhab.binding.xmltv/src/main/java/org/openhab/binding/xmltv/internal/jaxb/MediaChannel.java
bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/discovery/ZWayDeviceDiscoveryService.java
bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayBridgeHandler.java
bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/HomekitAuthInfoImpl.java
bundles/org.openhab.io.hueemulation/src/main/java/org/openhab/io/hueemulation/internal/ConfigStore.java
bundles/org.openhab.io.hueemulation/src/main/java/org/openhab/io/hueemulation/internal/StateUtils.java
bundles/org.openhab.transform.bin2json/src/main/java/org/openhab/transform/bin2json/internal/Bin2JsonTransformationService.java
bundles/org.openhab.transform.exec/src/main/java/org/openhab/transform/exec/internal/ExecTransformationService.java
bundles/org.openhab.transform.exec/src/main/java/org/openhab/transform/exec/internal/profiles/ExecTransformationProfileFactory.java
bundles/org.openhab.transform.javascript/src/main/java/org/openhab/transform/javascript/internal/JavaScriptTransformationService.java
bundles/org.openhab.transform.javascript/src/main/java/org/openhab/transform/javascript/internal/profiles/JavascriptTransformationProfileFactory.java
bundles/org.openhab.transform.jinja/src/main/java/org/openhab/transform/jinja/internal/JinjaTransformationService.java
bundles/org.openhab.transform.jinja/src/main/java/org/openhab/transform/jinja/internal/profiles/JinjaTransformationProfileFactory.java
bundles/org.openhab.transform.jsonpath/src/main/java/org/openhab/transform/jsonpath/internal/JSonPathTransformationService.java
bundles/org.openhab.transform.jsonpath/src/main/java/org/openhab/transform/jsonpath/internal/profiles/JSonPathTransformationProfileFactory.java
bundles/org.openhab.transform.map/src/main/java/org/openhab/transform/map/internal/MapTransformationService.java
bundles/org.openhab.transform.map/src/main/java/org/openhab/transform/map/internal/profiles/MapTransformationProfileFactory.java
bundles/org.openhab.transform.regex/src/main/java/org/openhab/transform/regex/internal/RegExTransformationService.java
bundles/org.openhab.transform.regex/src/main/java/org/openhab/transform/regex/internal/profiles/RegexTransformationProfileFactory.java
bundles/org.openhab.transform.scale/src/main/java/org/openhab/transform/scale/internal/ScaleTransformationService.java
bundles/org.openhab.transform.scale/src/main/java/org/openhab/transform/scale/internal/profiles/ScaleTransformationProfileFactory.java
bundles/org.openhab.transform.xpath/src/main/java/org/openhab/transform/xpath/internal/XPathTransformationService.java
bundles/org.openhab.transform.xpath/src/main/java/org/openhab/transform/xpath/internal/profiles/XPathTransformationProfileFactory.java
bundles/org.openhab.transform.xslt/src/main/java/org/openhab/transform/xslt/internal/XsltTransformationService.java
bundles/org.openhab.transform.xslt/src/main/java/org/openhab/transform/xslt/internal/profiles/XSLTTransformationProfileFactory.java
bundles/org.openhab.voice.googletts/src/main/java/org/openhab/voice/googletts/internal/GoogleCloudAPI.java
itests/org.openhab.binding.modbus.tests/src/main/java/org/openhab/binding/modbus/tests/AbstractModbusOSGiTest.java
itests/org.openhab.binding.ntp.tests/src/main/java/org/openhab/binding/ntp/test/NtpOSGiTest.java

index bd8fcb5832840cd785b519f99cb6bdd35594112d..c35c58a046e099e86d7336a882ba1c521d83f08f 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * Channel configuration from Eclipse SmartHome.
+ * Astro Channel configuration.
  *
  * @author Gerhard Riegler - Initial contribution
  */
index 1d4908bdbb0bb847b9e208fe0afa011d67c5df8f..f6ff691f73b6de136bc72c5d5abec6cb010c7d23 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * Thing configuration from Eclipse SmartHome.
+ * Astro Thing configuration.
  *
  * @author Gerhard Riegler - Initial contribution
  */
index 21944ca9c814a76207351161491f1b4f4cc03aee..0c71513d66b22f426f3aa0956070c4838cd3cf71 100644 (file)
@@ -221,7 +221,7 @@ public enum BluetoothUnit {
     }
 
     /**
-     * This class contains the set of units that are not yet defined in SmarthomeUnits.
+     * This class contains the set of units that are not yet defined in Units.
      * Once these units are added to the core then this class will be removed.
      *
      * @author cpetty
index a9b642ee37525d09c5d9039e2d23b4a96e120e2d..6e7111b22f45d91a62fb2b72dc1bbbbeae27cd6e 100644 (file)
@@ -111,7 +111,7 @@ public class BoschIndegoHandler extends BaseThingHandler {
             // Query the device state
             DeviceStateInformation state = controller.getState();
             DeviceStatus statusWithMessage = DeviceStatus.decodeStatusCode(state.getState());
-            int eshStatus = getEshStatusFromCommand(statusWithMessage.getAssociatedCommand());
+            int status = getStatusFromCommand(statusWithMessage.getAssociatedCommand());
             int mowed = state.getMowed();
             int error = state.getError();
             int statecode = state.getState();
@@ -136,7 +136,7 @@ public class BoschIndegoHandler extends BaseThingHandler {
                         if (state.getState() != stateTmp.getState()) {
                             state = stateTmp;
                             statusWithMessage = DeviceStatus.decodeStatusCode(state.getState());
-                            eshStatus = getEshStatusFromCommand(statusWithMessage.getAssociatedCommand());
+                            status = getStatusFromCommand(statusWithMessage.getAssociatedCommand());
                             mowed = state.getMowed();
                             error = state.getError();
                             statecode = state.getState();
@@ -156,7 +156,7 @@ public class BoschIndegoHandler extends BaseThingHandler {
             updateState(READY, new DecimalType(ready ? 1 : 0));
             updateState(ERRORCODE, new DecimalType(error));
             updateState(MOWED, new PercentType(mowed));
-            updateState(STATE, new DecimalType(eshStatus));
+            updateState(STATE, new DecimalType(status));
             updateState(TEXTUAL_STATE, new StringType(statusWithMessage.getMessage()));
 
         } catch (IndegoAuthenticationException e) {
@@ -200,22 +200,22 @@ public class BoschIndegoHandler extends BaseThingHandler {
         return true;
     }
 
-    private int getEshStatusFromCommand(DeviceCommand command) {
-        int eshStatus;
+    private int getStatusFromCommand(DeviceCommand command) {
+        int status;
         switch (command) {
             case MOW:
-                eshStatus = 1;
+                status = 1;
                 break;
             case RETURN:
-                eshStatus = 2;
+                status = 2;
                 break;
             case PAUSE:
-                eshStatus = 3;
+                status = 3;
                 break;
             default:
-                eshStatus = 0;
+                status = 0;
         }
-        return eshStatus;
+        return status;
     }
 
     @Override
index ea5f26163809f2a888e26c1c2f810634ad4d2741..46340d08fc1fd1a88580faaf6e4951f9a5584bf2 100644 (file)
@@ -56,7 +56,7 @@ public class CaddxDiscoveryService extends AbstractDiscoveryService implements T
     }
 
     /**
-     * Method to add a Thing to the Smarthome Inbox.
+     * Method to add a Thing to the Inbox.
      *
      * @param bridge
      * @param caddxThingType
index 73233af40dd61b90592140b80b9583f758815593..4649aaa3f62aa4a608ffc8df20448caf1544b226 100644 (file)
@@ -311,7 +311,7 @@ public class DeviceHandler extends BaseThingHandler implements DeviceStatusListe
                     if (deviceStateUpdate.isSensorUpdateType()) {
                         updateState(getSensorChannelID(deviceStateUpdate.getTypeAsSensorEnum()),
                                 new DecimalType(deviceStateUpdate.getValueAsFloat()));
-                        logger.debug("Update ESH-State");
+                        logger.debug("Update state");
                         return;
                     }
                     if (deviceStateUpdate.isBinarayInputType()) {
@@ -402,7 +402,7 @@ public class DeviceHandler extends BaseThingHandler implements DeviceStatusListe
                     }
                     updateState(DsChannelTypeProvider.SHADE, new PercentType(percent));
                 }
-                logger.debug("Update ESH-State");
+                logger.debug("Update state");
             }
         }
     }
@@ -736,14 +736,14 @@ public class DeviceHandler extends BaseThingHandler implements DeviceStatusListe
         if (!channelList.isEmpty()) {
             Iterator<Channel> channelInter = channelList.iterator();
             while (channelInter.hasNext()) {
-                Channel eshChannel = channelInter.next();
-                if (DsChannelTypeProvider.isOutputChannel(eshChannel.getUID().getId())) {
-                    if (!eshChannel.getUID().getId().equals(currentChannel)
-                            && !(device.isShade() && eshChannel.getUID().getId().equals(DsChannelTypeProvider.SHADE))) {
+                Channel channel = channelInter.next();
+                if (DsChannelTypeProvider.isOutputChannel(channel.getUID().getId())) {
+                    if (!channel.getUID().getId().equals(currentChannel)
+                            && !(device.isShade() && channel.getUID().getId().equals(DsChannelTypeProvider.SHADE))) {
                         channelInter.remove();
                         channelListChanged = true;
                     } else {
-                        if (!eshChannel.getUID().getId().equals(DsChannelTypeProvider.SHADE)) {
+                        if (!channel.getUID().getId().equals(DsChannelTypeProvider.SHADE)) {
                             channelIsAlreadyLoaded = true;
                         }
                     }
index fff08a85728f1b946160133fa2dabc28c4a30269..78a892bc135ec2ef94e523e640a7fd1a7906f7ad 100644 (file)
@@ -76,7 +76,7 @@ public enum EventResponseEnum {
     }
 
     /**
-     * Returns true, if the given property exists at the ESH event properties, otherwise false.
+     * Returns true, if the given property exists at the event properties, otherwise false.
      *
      * @param property to check
      * @return contains property (true = yes | false = no)
index ccaa75c3dd83c695a9e1428f4fe40d936708c716..8e888742b9bec3bfe379d3b4efbba0c0e229746e 100644 (file)
@@ -277,35 +277,35 @@ public class DeviceStatusManagerImpl implements DeviceStatusManager {
             while (!currentDeviceList.isEmpty()) {
                 Device currentDevice = currentDeviceList.remove(0);
                 DSID currentDeviceDSID = currentDevice.getDSID();
-                Device eshDevice = tempDeviceMap.remove(currentDeviceDSID);
+                Device device = tempDeviceMap.remove(currentDeviceDSID);
 
-                if (eshDevice != null) {
-                    checkDeviceConfig(currentDevice, eshDevice);
+                if (device != null) {
+                    checkDeviceConfig(currentDevice, device);
 
-                    if (eshDevice.isPresent()) {
+                    if (device.isPresent()) {
                         // check device state updates
-                        while (!eshDevice.isDeviceUpToDate()) {
-                            DeviceStateUpdate deviceStateUpdate = eshDevice.getNextDeviceUpdateState();
+                        while (!device.isDeviceUpToDate()) {
+                            DeviceStateUpdate deviceStateUpdate = device.getNextDeviceUpdateState();
                             if (deviceStateUpdate != null) {
                                 switch (deviceStateUpdate.getType()) {
                                     case DeviceStateUpdate.OUTPUT:
                                     case DeviceStateUpdate.SLAT_ANGLE_INCREASE:
                                     case DeviceStateUpdate.SLAT_ANGLE_DECREASE:
-                                        filterCommand(deviceStateUpdate, eshDevice);
+                                        filterCommand(deviceStateUpdate, device);
                                         break;
                                     case DeviceStateUpdate.UPDATE_SCENE_CONFIG:
                                     case DeviceStateUpdate.UPDATE_SCENE_OUTPUT:
-                                        updateSceneData(eshDevice, deviceStateUpdate);
+                                        updateSceneData(device, deviceStateUpdate);
                                         break;
                                     case DeviceStateUpdate.UPDATE_OUTPUT_VALUE:
                                         if (deviceStateUpdate.getValueAsInteger() > -1) {
-                                            readOutputValue(eshDevice);
+                                            readOutputValue(device);
                                         } else {
-                                            removeSensorJob(eshDevice, deviceStateUpdate);
+                                            removeSensorJob(device, deviceStateUpdate);
                                         }
                                         break;
                                     default:
-                                        sendComandsToDSS(eshDevice, deviceStateUpdate);
+                                        sendComandsToDSS(device, deviceStateUpdate);
                                 }
                             }
                         }
@@ -475,32 +475,32 @@ public class DeviceStatusManagerImpl implements DeviceStatusManager {
         }
     }
 
-    private void removeSensorJob(Device eshDevice, DeviceStateUpdate deviceStateUpdate) {
+    private void removeSensorJob(Device device, DeviceStateUpdate deviceStateUpdate) {
         switch (deviceStateUpdate.getType()) {
             case DeviceStateUpdate.UPDATE_SCENE_CONFIG:
                 if (sceneJobExecutor != null) {
-                    sceneJobExecutor.removeSensorJob(eshDevice,
-                            SceneConfigReadingJob.getID(eshDevice, deviceStateUpdate.getSceneId()));
+                    sceneJobExecutor.removeSensorJob(device,
+                            SceneConfigReadingJob.getID(device, deviceStateUpdate.getSceneId()));
                 }
                 break;
             case DeviceStateUpdate.UPDATE_SCENE_OUTPUT:
                 if (sceneJobExecutor != null) {
-                    sceneJobExecutor.removeSensorJob(eshDevice,
-                            SceneOutputValueReadingJob.getID(eshDevice, deviceStateUpdate.getSceneId()));
+                    sceneJobExecutor.removeSensorJob(device,
+                            SceneOutputValueReadingJob.getID(device, deviceStateUpdate.getSceneId()));
                 }
                 break;
             case DeviceStateUpdate.UPDATE_OUTPUT_VALUE:
                 if (sensorJobExecutor != null) {
-                    sensorJobExecutor.removeSensorJob(eshDevice, DeviceOutputValueSensorJob.getID(eshDevice));
+                    sensorJobExecutor.removeSensorJob(device, DeviceOutputValueSensorJob.getID(device));
                 }
                 break;
         }
         if (deviceStateUpdate.isSensorUpdateType()) {
             if (sensorJobExecutor != null) {
                 logger.debug("remove SensorJob with ID: {}",
-                        DeviceConsumptionSensorJob.getID(eshDevice, deviceStateUpdate.getTypeAsSensorEnum()));
-                sensorJobExecutor.removeSensorJob(eshDevice,
-                        DeviceConsumptionSensorJob.getID(eshDevice, deviceStateUpdate.getTypeAsSensorEnum()));
+                        DeviceConsumptionSensorJob.getID(device, deviceStateUpdate.getTypeAsSensorEnum()));
+                sensorJobExecutor.removeSensorJob(device,
+                        DeviceConsumptionSensorJob.getID(device, deviceStateUpdate.getTypeAsSensorEnum()));
             }
         }
     }
@@ -751,35 +751,35 @@ public class DeviceStatusManagerImpl implements DeviceStatusManager {
      * Updates the {@link Device} status of the given {@link Device} with handling outstanding commands, which are saved
      * as {@link DeviceStateUpdate}'s.
      *
-     * @param eshDevice to update
+     * @param device to update
      */
-    public synchronized void updateDevice(Device eshDevice) {
+    public synchronized void updateDevice(Device device) {
         logger.debug("Check device updates");
         // check device state updates
-        while (!eshDevice.isDeviceUpToDate()) {
-            DeviceStateUpdate deviceStateUpdate = eshDevice.getNextDeviceUpdateState();
+        while (!device.isDeviceUpToDate()) {
+            DeviceStateUpdate deviceStateUpdate = device.getNextDeviceUpdateState();
             if (deviceStateUpdate != null) {
                 if (deviceStateUpdate.getType() != DeviceStateUpdate.OUTPUT) {
                     if (deviceStateUpdate.getType() == DeviceStateUpdate.UPDATE_SCENE_CONFIG
                             || deviceStateUpdate.getType() == DeviceStateUpdate.UPDATE_SCENE_OUTPUT) {
-                        updateSceneData(eshDevice, deviceStateUpdate);
+                        updateSceneData(device, deviceStateUpdate);
                     } else {
-                        sendComandsToDSS(eshDevice, deviceStateUpdate);
+                        sendComandsToDSS(device, deviceStateUpdate);
                     }
                 } else {
-                    DeviceStateUpdate nextDeviceStateUpdate = eshDevice.getNextDeviceUpdateState();
+                    DeviceStateUpdate nextDeviceStateUpdate = device.getNextDeviceUpdateState();
                     while (nextDeviceStateUpdate != null
                             && nextDeviceStateUpdate.getType() == DeviceStateUpdate.OUTPUT) {
                         deviceStateUpdate = nextDeviceStateUpdate;
-                        nextDeviceStateUpdate = eshDevice.getNextDeviceUpdateState();
+                        nextDeviceStateUpdate = device.getNextDeviceUpdateState();
                     }
-                    sendComandsToDSS(eshDevice, deviceStateUpdate);
+                    sendComandsToDSS(device, deviceStateUpdate);
                     if (nextDeviceStateUpdate != null) {
                         if (deviceStateUpdate.getType() == DeviceStateUpdate.UPDATE_SCENE_CONFIG
                                 || deviceStateUpdate.getType() == DeviceStateUpdate.UPDATE_SCENE_OUTPUT) {
-                            updateSceneData(eshDevice, deviceStateUpdate);
+                            updateSceneData(device, deviceStateUpdate);
                         } else {
-                            sendComandsToDSS(eshDevice, deviceStateUpdate);
+                            sendComandsToDSS(device, deviceStateUpdate);
                         }
                     }
                 }
index 6a0597eeb9612ae94a7931a2d0f78afe2601defa..50e944d17c104ddb8ad9b37f7188b172df05b4a1 100644 (file)
@@ -141,7 +141,7 @@ public class SacnPacket extends DmxOverEthernetPacket {
         rawPacket[114] = (byte) (this.universeId % 256);
 
         /* set sender name in packet */
-        String senderName = new String("ESH DMX binding (sACN) <" + String.format("%05d", this.universeId) + ">");
+        String senderName = new String("openHAB DMX binding (sACN) <" + String.format("%05d", this.universeId) + ">");
         byte[] senderNameBytes = senderName.getBytes(StandardCharsets.UTF_8);
         System.arraycopy(senderNameBytes, 0, rawPacket, 44, senderName.length());
 
index 7090a925990c823d3ec584f33b850eb7b6767cf1..48750aac70944350b2f2887da47563b393935d86 100644 (file)
@@ -52,12 +52,12 @@ public class DSCAlarmBridgeDiscovery extends AbstractDiscoveryService {
     };
 
     /**
-     * Method to add an Envisalink Bridge to the Smarthome Inbox.
+     * Method to add an Envisalink Bridge to the Inbox.
      *
      * @param ipAddress
      */
     public void addEnvisalinkBridge(String ipAddress) {
-        logger.trace("addBridge(): Adding new Envisalink Bridge on {} to Smarthome inbox", ipAddress);
+        logger.trace("addBridge(): Adding new Envisalink Bridge on {} to inbox", ipAddress);
 
         String bridgeID = ipAddress.replace('.', '_');
         Map<String, Object> properties = new HashMap<>(0);
@@ -69,7 +69,7 @@ public class DSCAlarmBridgeDiscovery extends AbstractDiscoveryService {
             thingDiscovered(DiscoveryResultBuilder.create(thingUID).withProperties(properties)
                     .withLabel("EyezOn Envisalink Bridge - " + ipAddress).build());
 
-            logger.trace("addBridge(): '{}' was added to Smarthome inbox.", thingUID);
+            logger.trace("addBridge(): '{}' was added to inbox.", thingUID);
         } catch (Exception e) {
             logger.error("addBridge(): Error", e);
         }
index 7f9816f982624ed27a267435a480bb923b5a085c..dceccc12a63daff5c203bb4582dde0b734d28fec 100644 (file)
@@ -71,14 +71,14 @@ public class DSCAlarmDiscoveryService extends AbstractDiscoveryService {
     }
 
     /**
-     * Method to add a Thing to the Smarthome Inbox.
+     * Method to add a Thing to the Inbox.
      *
      * @param bridge
      * @param dscAlarmThingType
      * @param event
      */
     public void addThing(Bridge bridge, DSCAlarmThingType dscAlarmThingType, DSCAlarmEvent event) {
-        logger.trace("addThing(): Adding new DSC Alarm {} to the smarthome inbox", dscAlarmThingType.getLabel());
+        logger.trace("addThing(): Adding new DSC Alarm {} to the inbox", dscAlarmThingType.getLabel());
 
         ThingUID thingUID = null;
         String thingID = "";
index 53f480e50db16837cd4043aa6b33ba8e93443ed1..c268f31e41d4664780ba7245e7a6d386e883d0e4 100644 (file)
@@ -28,8 +28,8 @@ import org.openhab.core.thing.ThingUID;
 import org.osgi.service.component.annotations.Component;
 
 /**
- * Discovery for Enocean USB dongles, integrated in Eclipse SmartHome's USB-serial discovery by implementing
- * a component of type {@link UsbSerialDiscoveryParticipant}.
+ * Discovery for Enocean USB dongles, integrated in USB-serial discovery by implementing a component of type
+ * {@link UsbSerialDiscoveryParticipant}.
  * <p/>
  * Currently, this {@link UsbSerialDiscoveryParticipant} supports the Enocean USB300 dongles.
  *
index 47e8b336fc69cd2a4e971d7ff4aa1fcafa089d44..bd309acc9f3d3daca6aba9a98604c3fc17ff037c 100644 (file)
@@ -563,7 +563,7 @@ public class HomematicThingHandler extends BaseThingHandler {
     public synchronized void deviceRemoved() {
         deviceDeletionPending = false;
         if (getThing().getStatus() == ThingStatus.REMOVING) {
-            // thing removal was initiated on ESH side
+            // thing removal was initiated
             updateStatus(ThingStatus.REMOVED);
         } else {
             // device removal was initiated on homematic side, thing is not removed
index 6910f697118da771f080adde907fdac25a176b41..6c8fbf8d6e8e49c47dec6a957b81f430ec25ae25 100644 (file)
@@ -35,7 +35,7 @@
                        <parameter name="callbackHost" type="text">
                                <context>network-address</context>
                                <label>Callback Network Address</label>
-                               <description>Callback network address of the ESH runtime, default is auto-discovery</description>
+                               <description>Callback network address of the runtime, default is auto-discovery</description>
                        </parameter>
                        <parameter name="bindAddress" type="text">
                                <context>network-address</context>
index b54ca69fab07cd855ad41034d6532d3d77c2e6d3..dadeb7b2e5c334a31d0f91cf95596cc3bdb53a3b 100644 (file)
@@ -27,8 +27,7 @@ import org.openhab.core.library.types.PercentType;
 import org.openhab.core.library.types.StringType;
 
 /**
- * The {@link LightStateConverter} is responsible for mapping Eclipse SmartHome
- * types to jue types and vice versa.
+ * The {@link LightStateConverter} is responsible for mapping to/from jue types.
  *
  * @author Dennis Nobel - Initial contribution
  * @author Oliver Libutzki - Adjustments
index fca29161c3967be6a9d4c9dece0c0700fcecf30e..ee59685966a43708e44ed357b9bbdef0e568bec9 100644 (file)
@@ -55,6 +55,7 @@ import org.openhab.binding.ihc.internal.ws.projectfile.ProjectFileUtils;
 import org.openhab.binding.ihc.internal.ws.resourcevalues.WSBooleanValue;
 import org.openhab.binding.ihc.internal.ws.resourcevalues.WSEnumValue;
 import org.openhab.binding.ihc.internal.ws.resourcevalues.WSResourceValue;
+import org.openhab.core.OpenHAB;
 import org.openhab.core.library.types.DateTimeType;
 import org.openhab.core.library.types.DecimalType;
 import org.openhab.core.library.types.OnOffType;
@@ -167,11 +168,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
     }
 
     private String getFilePathInUserDataFolder(String fileName) {
-        String progArg = System.getProperty("smarthome.userdata");
-        if (progArg != null) {
-            return progArg + File.separator + fileName;
-        }
-        return fileName;
+        return OpenHAB.getUserDataFolder() + File.separator + fileName;
     }
 
     @Override
index 35198da473485ef194ddce42c75747d03124b334..75a43fb00ab9701b674a3515de3a8303de32e655 100644 (file)
@@ -124,7 +124,7 @@ public class EthernetBridgeHandler extends BaseBridgeHandler implements Transcei
         if (selector != null) {
             if (getConfig().get(IP_ADDRESS) != null && getConfig().get(PORT_NUMBER) != null) {
                 if (pollingThread == null) {
-                    pollingThread = new Thread(pollingRunnable, "ESH-IRtrans-Polling " + getThing().getUID());
+                    pollingThread = new Thread(pollingRunnable, "OH-binding-" + getThing().getUID() + "-polling");
                     pollingThread.start();
                 }
             } else {
index 1af26a7f2528aa9407de8338f50ad1e09ce1acb9..17a7365fdb1f4d7a8bb0fd0b6013c3f4b8b3508b 100644 (file)
@@ -244,7 +244,7 @@ public class ThirdGenerationHandler extends BaseThingHandler {
                 break;
             }
             case AMPERE_HOUR: {
-                // Ampere hours are not supported by ESH, but 1 AH is equal tp 3600 coulomb...
+                // Ampere hours is not a supported unit, but 1 AH is equal tp 3600 coulomb...
                 updateState(channeluid, new QuantityType<>(value * 3600, Units.COULOMB));
                 break;
             }
index 7fb9f5348698cdcd49d1368789590402f5508431..d6aa6c04b92b0a63bc08a9401ca2de38d929b2fd 100644 (file)
@@ -156,8 +156,7 @@ public class MaxCubeBridgeDiscovery extends AbstractDiscoveryService {
 
     private void discoveryResultSubmission(String IpAddress, String cubeSerialNumber, String rfAddress) {
         if (cubeSerialNumber != null) {
-            logger.trace("Adding new MAX! Cube Lan Gateway on {} with id '{}' to Smarthome inbox", IpAddress,
-                    cubeSerialNumber);
+            logger.trace("Adding new MAX! Cube Lan Gateway on {} with id '{}' to inbox", IpAddress, cubeSerialNumber);
             Map<String, Object> properties = new HashMap<>(2);
             properties.put(PROPERTY_IP_ADDRESS, IpAddress);
             properties.put(PROPERTY_SERIAL_NUMBER, cubeSerialNumber);
index 2feb4d1f399579bd8af496ec43e828ccef4f7ce9..7ea785647105e00558b9a4053492ac4f6c9f3c40 100644 (file)
@@ -89,7 +89,7 @@ public class MaxDeviceDiscoveryService extends AbstractDiscoveryService
 
     @Override
     public void onDeviceAdded(Bridge bridge, Device device) {
-        logger.trace("Adding new MAX! {} with id '{}' to smarthome inbox", device.getType(), device.getSerialNumber());
+        logger.trace("Adding new MAX! {} with id '{}' to inbox", device.getType(), device.getSerialNumber());
         ThingUID thingUID = null;
         switch (device.getType()) {
             case WallMountedThermostat:
index 692b4e061ac98944f8f39e164720c64a98e85b95..ca0642f4719d48be87b8a86f549296a8554e93dd 100644 (file)
@@ -20,7 +20,7 @@ import org.openhab.core.types.Type;
  * The {@link ApplianceChannelSelector} class defines a common interface for
  * all the data structures used by appliance thing handlers. It is used to traverse
  * the channels that possibly exist for an appliance, and convert data
- * returned by the appliance to a ESH compatible State
+ * returned by the appliance to a compatible State
  *
  * @author Karel Goderis - Initial contribution
  */
@@ -30,7 +30,7 @@ public interface ApplianceChannelSelector {
     String toString();
 
     /**
-     * Returns the ESH ChannelID for the given datapoint
+     * Returns the ChannelID for the given datapoint
      */
     String getChannelID();
 
index 5e791925b230c556a644ac04cb825da7726eeed2..e8fdd80bea7901c95f7c8dab9565ec17539e74cf 100644 (file)
@@ -145,7 +145,7 @@ public class MinecraftDiscoveryService extends AbstractDiscoveryService {
     }
 
     /**
-     * Submit the discovered Devices to the Smarthome inbox,
+     * Submit the discovered Devices to the inbox.
      *
      * @param bridgeUID
      * @param name name of the player
@@ -161,7 +161,7 @@ public class MinecraftDiscoveryService extends AbstractDiscoveryService {
     }
 
     /**
-     * Submit the discovered Signs to the Smarthome inbox,
+     * Submit the discovered Signs to the inbox.
      *
      * @param bridgeUID
      * @param sign data describing sign
index 7cbe61922ad4cf9539955c5230dc90de0e81388d..3d5facefe1abd159276a3162f54926ebc92ef849 100644 (file)
@@ -188,7 +188,7 @@ public class ChannelState implements MqttMessageSubscriber {
             return;
         }
 
-        // Map the string to an ESH command, update the cached value and post the command to the framework
+        // Map the string to a command, update the cached value and post the command to the framework
         try {
             cachedValue.update(command);
         } catch (IllegalArgumentException | IllegalStateException e) {
index ba4f1f8b4144d834780d8f5ef59558b26a658394..0291c215af296b474a6d9fc0193145461e6ad46b 100644 (file)
@@ -36,7 +36,7 @@ import org.openhab.core.thing.type.ChannelGroupTypeBuilder;
 import org.openhab.core.thing.type.ChannelGroupTypeUID;
 
 /**
- * A HomeAssistant component is comparable to an ESH channel group.
+ * A HomeAssistant component is comparable to a channel group.
  * It has a name and consists of multiple channels.
  *
  * @author David Graeff - Initial contribution
@@ -61,7 +61,7 @@ public abstract class AbstractComponent<C extends BaseChannelConfiguration> {
     protected boolean configSeen;
 
     /**
-     * Provide a thingUID and HomeAssistant topic ID to determine the ESH channel group UID and type.
+     * Provide a thingUID and HomeAssistant topic ID to determine the channel group UID and type.
      *
      * @param thing A ThingUID
      * @param haID A HomeAssistant topic ID
@@ -147,14 +147,14 @@ public abstract class AbstractComponent<C extends BaseChannelConfiguration> {
     }
 
     /**
-     * Each HomeAssistant component corresponds to an ESH Channel Group Type.
+     * Each HomeAssistant component corresponds to a Channel Group Type.
      */
     public ChannelGroupTypeUID groupTypeUID() {
         return channelGroupTypeUID;
     }
 
     /**
-     * The unique id of this component within the ESH framework.
+     * The unique id of this component.
      */
     public ChannelGroupUID uid() {
         return channelGroupUID;
@@ -168,7 +168,7 @@ public abstract class AbstractComponent<C extends BaseChannelConfiguration> {
     }
 
     /**
-     * Each component consists of multiple ESH Channels.
+     * Each component consists of multiple Channels.
      */
     public Map<String, CChannel> channelTypes() {
         return channels;
@@ -176,7 +176,7 @@ public abstract class AbstractComponent<C extends BaseChannelConfiguration> {
 
     /**
      * Return a components channel. A HomeAssistant MQTT component consists of multiple functions
-     * and those are mapped to one or more ESH channels. The channel IDs are constants within the
+     * and those are mapped to one or more channels. The channel IDs are constants within the
      * derived Component, like the {@link ComponentSwitch#switchChannelID}.
      *
      * @param channelID The channel ID
index 81b2a85c4c60c78193385c41e13a24fa3cf5f35b..67a78909b7b9e68501f886843294a18fb7cd98c9 100644 (file)
@@ -42,12 +42,12 @@ import org.openhab.core.types.StateDescription;
 
 /**
  * An {@link AbstractComponent}s derived class consists of one or multiple channels.
- * Each component channel consists of the determined ESH channel type, channel type UID and the
- * ESH channel description itself as well as the the channels state.
+ * Each component channel consists of the determined channel type, channel type UID and the
+ * channel description itself as well as the the channels state.
  *
  * After the discovery process has completed and the tree of components and component channels
  * have been built up, the channel types are registered to a custom channel type provider
- * before adding the channel descriptions to the ESH Thing themselves.
+ * before adding the channel descriptions to the Thing themselves.
  * <br>
  * <br>
  * An object of this class creates the required {@link ChannelType} and {@link ChannelTypeUID} as well
@@ -60,8 +60,8 @@ public class CChannel {
     private static final String JINJA = "JINJA";
 
     private final ChannelUID channelUID;
-    private final ChannelState channelState; // Channel state (value)
-    private final Channel channel; // ESH Channel
+    private final ChannelState channelState;
+    private final Channel channel;
     private final ChannelType type;
     private final ChannelTypeUID channelTypeUID;
     private final ChannelStateUpdateListener channelStateUpdateListener;
@@ -191,8 +191,8 @@ public class CChannel {
 
         public CChannel build(boolean addToComponent) {
             ChannelUID channelUID;
-            ChannelState channelState; // Channel state (value)
-            Channel channel; // ESH Channel
+            ChannelState channelState;
+            Channel channel;
             ChannelType type;
             ChannelTypeUID channelTypeUID;
 
index 14332caf17cf51f8e1a480bfd9b3f6c3d0fae673..9dd85804fe5242df0e40f862a7b26ff52752ca0d 100644 (file)
@@ -68,7 +68,7 @@ import com.google.gson.GsonBuilder;
  * The specification does not cover the case of disappearing Components. This handler doesn't as well therefore.<br>
  * <br>
  *
- * A Component Instance equals an ESH Channel Group and the Component parts equal ESH Channels.<br>
+ * A Component Instance equals a Channel Group and the Component parts equal Channels.<br>
  * <br>
  *
  * If a Components configuration changes, the known ChannelGroupType and ChannelTypes are replaced with the new ones.
index da8901f68098266da97af4b9c28eac1491b02e11..6d64a717cc0e91029d363ccb970dc545479a9988 100644 (file)
@@ -151,7 +151,7 @@ public class Device implements AbstractMqttAttributeClass.AttributeChanged {
     }
 
     /**
-     * Get a homie property (which translates to an ESH channel).
+     * Get a homie property (which translates to a channel).
      *
      * @param channelUID The group ID corresponds to the Homie Node, the channel ID (without group ID) corresponds to
      *            the Nodes Property.
index dc2ed54565f304baa3fb172eb788aae739ecc78e..e8f02dce9f5d82eff2f141aed99b69c2760dc668 100644 (file)
@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
  * Homie 3.x Node.
  *
  * A Homie Node contains Homie Properties ({@link Property}) but can also have attributes ({@link NodeAttributes}).
- * It corresponds to an ESH ChannelGroup.
+ * It corresponds to a ChannelGroup.
  *
  * @author David Graeff - Initial contribution
  */
@@ -53,7 +53,6 @@ public class Node implements AbstractMqttAttributeClass.AttributeChanged {
     public ChildMap<Property> properties;
     // Runtime
     public final DeviceCallback callback;
-    // ESH
     protected final ChannelGroupUID channelGroupUID;
     public final ChannelGroupTypeUID channelGroupTypeUID;
     private final String topic;
index 4eefc2c8089ff874c0357d251f754f65dc5ee7ce..0b606f73c72099d2f822bd9e447739da186eecbc 100644 (file)
@@ -27,7 +27,7 @@ import org.openhab.binding.mqtt.generic.mapping.TopicPrefix;
 public class NodeAttributes extends AbstractMqttAttributeClass {
     public @MandatoryField String name;
     public @MandatoryField @MQTTvalueTransform(splitCharacter = ",") String[] properties;
-    // Type has no meaning for ESH yet and is currently purely of textual, descriptive nature
+    // Type has no meaning yet and is currently purely of textual, descriptive nature
     public String type;
 
     @Override
index f3ff156f4b24b33888946621b5444d91cb7d8e37..277b2c74dd8ba2f4e2a6f9ad7d5afe5965cc285e 100644 (file)
@@ -52,7 +52,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * A homie Property (which translates into an ESH channel).
+ * A homie Property (which translates into a channel).
  *
  * @author David Graeff - Initial contribution
  */
@@ -65,7 +65,6 @@ public class Property implements AttributeChanged {
     public final String propertyID;
     // Runtime state
     protected @Nullable ChannelState channelState;
-    // ESH
     public final ChannelUID channelUID;
     public final ChannelTypeUID channelTypeUID;
     private ChannelType type;
index 050fd8d3c094ee0aa507306acae438fffb2ab1fb..571bfdd2a07bf2e37346f6c74ed164a5c366bfe6 100644 (file)
@@ -88,7 +88,7 @@ public class NeatoAccountDiscoveryService extends AbstractDiscoveryService {
             return;
         }
 
-        logger.debug("addThing(): Adding new Neato unit {} to the smarthome inbox", robot.getName());
+        logger.debug("addThing(): Adding new Neato unit {} to the inbox", robot.getName());
 
         Map<String, Object> properties = new HashMap<>();
         String serial = robot.getSerial();
index b619e383d18dde1ecb68d20dcdec1fcbb563fc20..001685138161f7638f0e7d8328df6eee2a77f79c 100644 (file)
@@ -88,8 +88,8 @@ public class PulseaudioDeviceDiscoveryService extends AbstractDiscoveryService i
         }
 
         if (thingType != null) {
-            logger.trace("Adding new pulseaudio {} with name '{}' to smarthome inbox",
-                    device.getClass().getSimpleName(), uidName);
+            logger.trace("Adding new pulseaudio {} with name '{}' to inbox", device.getClass().getSimpleName(),
+                    uidName);
             ThingUID thingUID = new ThingUID(thingType, bridge.getUID(), device.getUIDName());
             DiscoveryResult discoveryResult = DiscoveryResultBuilder.create(thingUID).withProperties(properties)
                     .withBridge(bridge.getUID()).withLabel(device.getUIDName()).build();
index 2055b76b4e8fbb99d4da0f15b34a9bb87fc7ae8d..e31580630993fb0e5d07847fd00aa125082bd844 100644 (file)
@@ -107,7 +107,7 @@ public class RFXComDeviceDiscoveryService extends AbstractDiscoveryService
         if (handler == null) {
             logger.trace("Ignoring RFXCOM {} with id '{}' - bridge handler is null", thingUID, id);
         } else if (!handler.getConfiguration().disableDiscovery) {
-            logger.trace("Adding new RFXCOM {} with id '{}' to smarthome inbox", thingUID, id);
+            logger.trace("Adding new RFXCOM {} with id '{}' to inbox", thingUID, id);
             DiscoveryResultBuilder discoveryResultBuilder = DiscoveryResultBuilder.create(thingUID).withBridge(bridge)
                     .withTTL(DISCOVERY_TTL);
             message.addDevicePropertiesTo(discoveryResultBuilder);
index 8f88076e1fc93df11ecfd15f0a0b1be15056de0f..edd73aeda6d3acd416ef916e11d9516123c9a624 100644 (file)
@@ -31,7 +31,7 @@ import org.openhab.core.thing.ThingTypeUID;
 public class SonosBindingConstants {
 
     public static final String BINDING_ID = "sonos";
-    public static final String ESH_PREFIX = "smarthome-";
+    public static final String TITLE_PREFIX = "smarthome-";
 
     // List of all Thing Type UIDs
     // Column (:) is not used for PLAY:1, PLAY:3, PLAY:5 and CONNECT:AMP because of
index ffc35065fdb2f17894df533fad1550c7aab9c81b..8babd96f54f58eef1a6aa807d3d248a71bc3b52f 100644 (file)
@@ -1461,19 +1461,19 @@ public class ZonePlayerHandler extends BaseThingHandler implements UpnpIOPartici
                             String existingList = "";
                             List<SonosEntry> playLists = getPlayLists();
                             for (SonosEntry someList : playLists) {
-                                if (someList.getTitle().equals(ESH_PREFIX + getUDN())) {
+                                if (someList.getTitle().equals(TITLE_PREFIX + getUDN())) {
                                     existingList = someList.getId();
                                     break;
                                 }
                             }
 
-                            saveQueue(ESH_PREFIX + getUDN(), existingList);
+                            saveQueue(TITLE_PREFIX + getUDN(), existingList);
 
                             // get all the playlists and a ref to our
                             // saved list
                             playLists = getPlayLists();
                             for (SonosEntry someList : playLists) {
-                                if (someList.getTitle().equals(ESH_PREFIX + getUDN())) {
+                                if (someList.getTitle().equals(TITLE_PREFIX + getUDN())) {
                                     savedState.entry = new SonosEntry(someList.getId(), someList.getTitle(),
                                             someList.getParentId(), "", "", "", someList.getUpnpClass(),
                                             someList.getRes());
index 36ae7941221ca3ec66fa8728aa4b71bda95df123..e1ddda7eff2443ead91ec1fb07f34b4f54e75e42 100644 (file)
@@ -80,8 +80,8 @@ public class TellstickDiscoveryService extends AbstractDiscoveryService implemen
 
     @Override
     public void onDeviceAdded(Bridge bridge, Device device) {
-        logger.debug("Adding new TellstickDevice! '{}' with id '{}' and type '{}' to smarthome inbox", device,
-                device.getId(), device.getDeviceType());
+        logger.debug("Adding new TellstickDevice! '{}' with id '{}' and type '{}' to inbox", device, device.getId(),
+                device.getDeviceType());
         ThingUID thingUID = getThingUID(bridge, device);
         logger.debug("Detected thingUID: {}", thingUID);
         if (thingUID != null) {
index 701de668a97752bda2c68bdb3871f30c4c6c9eef..5eb2a86996a56f6a8ebc14aefb75f034623f357e 100644 (file)
@@ -28,7 +28,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 
 /**
  * Java class for an channel XML element
- * Renamed to MediaChannel in order to avoid confusion with ESH Channels
+ * Renamed to MediaChannel in order to avoid confusion with Framework Channels
  *
  * @author Gaël L'hopital - Initial contribution
  */
index 189a3f29a6761b57945fc7f7984497bbebde134c..bcefc98c4c102bbf8ab9747e7c1f7bce9862f401 100644 (file)
@@ -131,7 +131,7 @@ public class ZWayDeviceDiscoveryService extends AbstractDiscoveryService {
                     /*
                      * Properties
                      * - Configuration: DEVICE_CONFIG_NODE_ID
-                     * - ESH default properties:
+                     * - System properties:
                      * --- PROPERTY_VENDOR
                      * --- other default properties not available
                      * - Custom properties:
index 0a22e5538d91943aa1066c9fc5dd72fc27427aa5..d42536a5a60f406af2e47d84a0076e7ee83f4cdd 100644 (file)
@@ -292,7 +292,7 @@ public class ZWayBridgeHandler extends BaseBridgeHandler implements IZWayApiCall
         ZWaveController zwaveController = mZWayApi.getZWaveController();
         if (zwaveController != null) {
             Map<String, String> properties = editProperties();
-            // ESH default properties
+            // System properties
             properties.put(Thing.PROPERTY_FIRMWARE_VERSION, zwaveController.getData().getAPIVersion().getValue());
             properties.put(Thing.PROPERTY_HARDWARE_VERSION, zwaveController.getData().getZWaveChip().getValue());
             // Thing.PROPERTY_MODEL_ID not available, only manufacturerProductId
index 7fd1613d6f446cc48fcdba94b5121d7e38c38115..6ed610badf00cfc95575385980cf12e54886f31c 100644 (file)
@@ -28,7 +28,7 @@ import io.github.hapjava.server.impl.HomekitServer;
 
 /**
  * Provides a mechanism to store authenticated HomeKit client details inside the
- * ESH StorageService, by implementing HomekitAuthInfo.
+ * StorageService, by implementing HomekitAuthInfo.
  *
  * @author Andy Lintner - Initial contribution
  */
index 4f411eae7fd16d40ad7f127cffc21254846998a6..374fa88bcd273b6d56687ebf98200227b3799fb9 100644 (file)
@@ -77,7 +77,7 @@ import com.google.gson.GsonBuilder;
 public class ConfigStore {
 
     public static final String METAKEY = "HUEEMU";
-    public static final String EVENT_ADDRESS_CHANGED = "ESH_EMU_CONFIG_ADDR_CHANGED";
+    public static final String EVENT_ADDRESS_CHANGED = "HUE_EMU_CONFIG_ADDR_CHANGED";
 
     private final Logger logger = LoggerFactory.getLogger(ConfigStore.class);
 
index 5b2916ba1f77f568736020e4eac0847a0f14153b..893aafd546546807a29e61efb162dab582c9caf2 100644 (file)
@@ -259,7 +259,7 @@ public class StateUtils {
         if (newState.ct != null) {
             try {
                 // We can't do anything here with a white color temperature.
-                // The core ESH color type does not support setting it.
+                // The color type does not support setting it.
 
                 // Adjusting the color temperature implies setting the mode to ct
                 if (state instanceof HueStateColorBulb) {
@@ -279,7 +279,7 @@ public class StateUtils {
         if (newState.ct_inc != null) {
             try {
                 // We can't do anything here with a white color temperature.
-                // The core ESH color type does not support setting it.
+                // The color type does not support setting it.
 
                 // Adjusting the color temperature implies setting the mode to ct
                 if (state instanceof HueStateColorBulb) {
index 0ac64510bf3fbdb22bbf14aeafee4ab5a1d214af..f8b3935605431077d9ee7c761ae92c4b1790d222 100644 (file)
@@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory;
  * @author Pauli Anttila - Initial contribution
  */
 @NonNullByDefault
-@Component(property = { "smarthome.transform=BIN2JSON" })
+@Component(property = { "openhab.transform=BIN2JSON" })
 public class Bin2JsonTransformationService implements TransformationService {
 
     private Logger logger = LoggerFactory.getLogger(Bin2JsonTransformationService.class);
index 3d74b563d7f308f883e84e095674ccb8bbf83710..fa7f9d5c3ba9b49a83c4beb37b4cda7141e72fb3 100644 (file)
@@ -33,7 +33,7 @@ import org.slf4j.LoggerFactory;
  * @author Jan N. Klug - added command whitelist service
  */
 @NonNullByDefault
-@Component(property = { "smarthome.transform=EXEC" })
+@Component(property = { "openhab.transform=EXEC" })
 public class ExecTransformationService implements TransformationService {
     private final Logger logger = LoggerFactory.getLogger(ExecTransformationService.class);
     private final ExecTransformationWhitelistWatchService execTransformationWhitelistWatchService;
index 5d33a72a67470aa1fbff8eacafc1e6267539a146..8dd4cb1dc8b65b3cfb76019b1c93a3ad1340b100 100644 (file)
@@ -60,7 +60,7 @@ public class ExecTransformationProfileFactory implements ProfileFactory, Profile
         return Arrays.asList(ExecTransformationProfile.PROFILE_TYPE_UID);
     }
 
-    @Reference(target = "(smarthome.transform=EXEC)")
+    @Reference(target = "(openhab.transform=EXEC)")
     public void addTransformationService(TransformationService service) {
         this.service = service;
     }
index 1864d3d9192e27ae536fea08238b3d8743becac0..b18b407de6390dd1110f258e7fa4188c3dc105e9 100644 (file)
@@ -33,7 +33,7 @@ import org.slf4j.LoggerFactory;
  * @author Thomas Kordelle - pre compiled scripts
  */
 @NonNullByDefault
-@Component(property = { "smarthome.transform=JS" })
+@Component(property = { "openhab.transform=JS" })
 public class JavaScriptTransformationService implements TransformationService {
 
     private Logger logger = LoggerFactory.getLogger(JavaScriptTransformationService.class);
index ef28803a0e1571b515b00e341c3923c7eab50ae8..ee8752c9035bc1a874cfb22c75517103a813cd6c 100644 (file)
@@ -60,7 +60,7 @@ public class JavascriptTransformationProfileFactory implements ProfileFactory, P
         return Arrays.asList(JavascriptTransformationProfile.PROFILE_TYPE_UID);
     }
 
-    @Reference(target = "(smarthome.transform=JS)")
+    @Reference(target = "(openhab.transform=JS)")
     public void addTransformationService(TransformationService service) {
         this.service = service;
     }
index 3d7496dde3cb0145e3ba4c942244868406e9ad7e..5d38917d746eed02a9f10325b76dd72fa9c1fb71 100644 (file)
@@ -40,7 +40,7 @@ import com.hubspot.jinjava.Jinjava;
  *
  */
 @NonNullByDefault
-@Component(property = { "smarthome.transform=JINJA" })
+@Component(property = { "openhab.transform=JINJA" })
 public class JinjaTransformationService implements TransformationService {
 
     private final Logger logger = LoggerFactory.getLogger(JinjaTransformationService.class);
index 17ca472dfb96e2d19d0b4b3e3a5620053d27076a..f12181ce17b26fbb97b59c1098000093109792ea 100644 (file)
@@ -60,7 +60,7 @@ public class JinjaTransformationProfileFactory implements ProfileFactory, Profil
         return Arrays.asList(JinjaTransformationProfile.PROFILE_TYPE_UID);
     }
 
-    @Reference(target = "(smarthome.transform=JINJA)")
+    @Reference(target = "(openhab.transform=JINJA)")
     public void addTransformationService(TransformationService service) {
         this.service = service;
     }
index 6d67bbc029a207c683f9b5d0fee8a2f5d8574d85..5f9d3e84f2e4be547ade3b339f5dac517cd78f7a 100644 (file)
@@ -38,7 +38,7 @@ import com.jayway.jsonpath.PathNotFoundException;
  *
  */
 @NonNullByDefault
-@Component(property = { "smarthome.transform=JSONPATH" })
+@Component(property = { "openhab.transform=JSONPATH" })
 public class JSonPathTransformationService implements TransformationService {
 
     private final Logger logger = LoggerFactory.getLogger(JSonPathTransformationService.class);
index 650e11507c2503db7241b06d7053016b6df0baf1..32043583c6ee3fb2e914c23504387a25d0641521 100644 (file)
@@ -60,7 +60,7 @@ public class JSonPathTransformationProfileFactory implements ProfileFactory, Pro
         return Arrays.asList(JSonPathTransformationProfile.PROFILE_TYPE_UID);
     }
 
-    @Reference(target = "(smarthome.transform=JSONPATH)")
+    @Reference(target = "(openhab.transform=JSONPATH)")
     public void addTransformationService(TransformationService service) {
         this.service = service;
     }
index 342a116fe7abe4bbab2d6be52ca7cca0868b6462..78adb207292be9e951fe7a35d78bf60dc40be066 100644 (file)
@@ -30,7 +30,7 @@ import org.slf4j.LoggerFactory;
  * @author Kai Kreuzer - Initial contribution and API
  * @author Gaël L'hopital - Make it localizable
  */
-@Component(service = TransformationService.class, property = { "smarthome.transform=MAP" })
+@Component(service = TransformationService.class, property = { "openhab.transform=MAP" })
 public class MapTransformationService extends AbstractFileTransformationService<Properties> {
 
     private final Logger logger = LoggerFactory.getLogger(MapTransformationService.class);
index 265763bb984bd037952efee108a2d403061ca767..e29b15b4024424cd69338c4353b9bb85eaefe244 100644 (file)
@@ -61,7 +61,7 @@ public class MapTransformationProfileFactory implements ProfileFactory, ProfileT
         return Arrays.asList(MapTransformationProfile.PROFILE_TYPE_UID);
     }
 
-    @Reference(target = "(smarthome.transform=MAP)")
+    @Reference(target = "(openhab.transform=MAP)")
     public void addTransformationService(TransformationService service) {
         this.service = service;
     }
index 62bc5f0cb45bec066025746faa73d12e0f8becad..d5601941e52b5a783f0beda507fe413fae0850c1 100644 (file)
@@ -33,7 +33,7 @@ import org.slf4j.LoggerFactory;
  * @author Thomas.Eichstaedt-Engelen
  */
 @NonNullByDefault
-@Component(property = { "smarthome.transform=REGEX" })
+@Component(property = { "openhab.transform=REGEX" })
 public class RegExTransformationService implements TransformationService {
 
     private final Logger logger = LoggerFactory.getLogger(RegExTransformationService.class);
index 371baabe6ea8ee5564babaf710f46f07d84186e4..30586ca020216e8c8f9cac26020c17461c2bad85 100644 (file)
@@ -60,7 +60,7 @@ public class RegexTransformationProfileFactory implements ProfileFactory, Profil
         return Arrays.asList(RegexTransformationProfile.PROFILE_TYPE_UID);
     }
 
-    @Reference(target = "(smarthome.transform=REGEX)")
+    @Reference(target = "(openhab.transform=REGEX)")
     public void addTransformationService(TransformationService service) {
         this.service = service;
     }
index f2f7b35d60dda6fc89c6c97584fadbcf504d04b1..24a534d91f500d9d819ac7fb4cf6ce6339dc0487 100644 (file)
@@ -41,7 +41,7 @@ import org.slf4j.LoggerFactory;
  * @author Gaël L'hopital
  * @author Markus Rathgeb - drop usage of Guava
  */
-@Component(service = TransformationService.class, property = { "smarthome.transform=SCALE" })
+@Component(service = TransformationService.class, property = { "openhab.transform=SCALE" })
 public class ScaleTransformationService extends AbstractFileTransformationService<Map<Range, String>> {
 
     private final Logger logger = LoggerFactory.getLogger(ScaleTransformationService.class);
index 749a85dd917d3a6df091a4ee8468107e50eaacc4..66507cb7aaea70670c4eabdd5e3dca76b9ae3236 100644 (file)
@@ -60,7 +60,7 @@ public class ScaleTransformationProfileFactory implements ProfileFactory, Profil
         return Arrays.asList(ScaleTransformationProfile.PROFILE_TYPE_UID);
     }
 
-    @Reference(target = "(smarthome.transform=SCALE)")
+    @Reference(target = "(openhab.transform=SCALE)")
     public void addTransformationService(TransformationService service) {
         this.service = service;
     }
index ba655e89e16fdcb90344cebd9dc218375118d81c..70a2ea72619a41788e000a3c754b736e636f3831 100644 (file)
@@ -38,7 +38,7 @@ import org.xml.sax.InputSource;
  * @author Thomas.Eichstaedt-Engelen
  */
 @NonNullByDefault
-@Component(property = { "smarthome.transform=XPATH" })
+@Component(property = { "openhab.transform=XPATH" })
 public class XPathTransformationService implements TransformationService {
 
     private final Logger logger = LoggerFactory.getLogger(XPathTransformationService.class);
index b6a78a0b0b2b13c4eae3093bcd6cf08751f04a48..681e3cc105a9c58c56add6a76c6f90747d1a01e5 100644 (file)
@@ -60,7 +60,7 @@ public class XPathTransformationProfileFactory implements ProfileFactory, Profil
         return Arrays.asList(XPathTransformationProfile.PROFILE_TYPE_UID);
     }
 
-    @Reference(target = "(smarthome.transform=XPATH)")
+    @Reference(target = "(openhab.transform=XPATH)")
     public void addTransformationService(TransformationService service) {
         this.service = service;
     }
index b228e53110ccf05262f8a264b544d4def60fe4ae..4dd33fab072d81453dd3191e04b591eb97c0e8da 100644 (file)
@@ -38,7 +38,7 @@ import org.slf4j.LoggerFactory;
  * @author Thomas.Eichstaedt-Engelen
  */
 @NonNullByDefault
-@Component(property = { "smarthome.transform=XSLT" })
+@Component(property = { "openhab.transform=XSLT" })
 public class XsltTransformationService implements TransformationService {
 
     private final Logger logger = LoggerFactory.getLogger(XsltTransformationService.class);
index 1ac0a6d0d5da4759aaf126532a98f1c10d2715f2..da81b362496731a6f30955a414e65d34d410ab52 100644 (file)
@@ -60,7 +60,7 @@ public class XSLTTransformationProfileFactory implements ProfileFactory, Profile
         return Arrays.asList(XSLTTransformationProfile.PROFILE_TYPE_UID);
     }
 
-    @Reference(target = "(smarthome.transform=XSLT)")
+    @Reference(target = "(openhab.transform=XSLT)")
     public void addTransformationService(TransformationService service) {
         this.service = service;
     }
index 1c377bbf107e229cea069432e97d16e2ea63e10a..ed6157afad6fbb6370c86862c43dc4e0196aba5f 100644 (file)
@@ -303,7 +303,7 @@ class GoogleCloudAPI {
     }
 
     /**
-     * Converts ESH audio format to Google parameters.
+     * Converts audio format to Google parameters.
      *
      * @param codec Requested codec
      * @return String array of Google audio format and the file extension to use.
index efbc79ad63fdf81e7d347fd5c781d76e14ba1735..db09bced5b7e7fcead821e6cfa8387233e03d731 100644 (file)
@@ -217,7 +217,7 @@ public abstract class AbstractModbusOSGiTest extends JavaOSGiTest {
 
     protected void mockTransformation(String name, TransformationService service) {
         Dictionary<String, Object> params = new Hashtable<>();
-        params.put("smarthome.transform", name);
+        params.put("openhab.transform", name);
         registerService(service, params);
     }
 
index 0a0dcb92de80827f351fa1169bdd0991ddaab5d6..5fca1569b1ecb8b76613365e33c268b24d6b74dc 100644 (file)
@@ -100,7 +100,7 @@ public class NtpOSGiTest extends JavaOSGiTest {
     private static final String TEST_ITEM_NAME = "testItem";
     private static final String TEST_THING_ID = "testThingId";
 
-    // No bundle in ESH is exporting a package from which we can use item types
+    // No bundle is exporting a package from which we can use item types
     // as constants, so we will use String.
     private static final String ACCEPTED_ITEM_TYPE_STRING = "String";
     private static final String ACCEPTED_ITEM_TYPE_DATE_TIME = "DateTime";