Typos a/an (#13876)
This commit is contained in:
parent
177ce2a217
commit
0ffc5257d5
|
@ -15,7 +15,7 @@ package org.openhab.automation.pidcontroller.internal;
|
|||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
|
||||
/**
|
||||
* Realizes an first-order FIR low pass filter. To keep code complexity low, it is implemented as moving average (all
|
||||
* Realizes a first-order FIR low pass filter. To keep code complexity low, it is implemented as moving average (all
|
||||
* FIR coefficients are set to normalized ones).
|
||||
*
|
||||
* The exponential decaying function is used for the calculation (see https://en.wikipedia.org/wiki/Time_constant). That
|
||||
|
|
|
@ -84,7 +84,7 @@ public class AutelisHandler extends BaseThingHandler {
|
|||
* Autelis controllers will not update their XML immediately after we change
|
||||
* a value. To compensate we cache previous values for a {@link Channel}
|
||||
* using the item name as a key. After a polling run has been executed we
|
||||
* only update an channel if the value is different then what's in the
|
||||
* only update a channel if the value is different then what's in the
|
||||
* cache. This cache is cleared after a fixed time period when commands are
|
||||
* sent.
|
||||
*/
|
||||
|
|
|
@ -70,7 +70,7 @@ class QueryResultJSONEncoderTest {
|
|||
}
|
||||
|
||||
private void assertReadGivenValuesDecodedFromJson(Map<?, ?> firstRow) {
|
||||
assertThat(firstRow.get("strValue"), is("an string"));
|
||||
assertThat(firstRow.get("strValue"), is("a string"));
|
||||
|
||||
Object doubleValue = firstRow.get("doubleValue");
|
||||
assertThat(doubleValue, instanceOf(Number.class));
|
||||
|
@ -124,7 +124,7 @@ class QueryResultJSONEncoderTest {
|
|||
|
||||
private Map<String, @Nullable Object> givenRowValues() {
|
||||
Map<String, @Nullable Object> values = new HashMap<>();
|
||||
values.put("strValue", "an string");
|
||||
values.put("strValue", "a string");
|
||||
values.put("doubleValue", 2.3d);
|
||||
values.put("intValue", 3);
|
||||
values.put("longValue", Long.MAX_VALUE);
|
||||
|
|
|
@ -167,7 +167,7 @@ Other devices support
|
|||
|-------------------|--------------------------|:-----------:|---------------------------------------|-------------------------------------------------|
|
||||
| brightness | Dimmer | R/W | Brightness of the light | `dimmablelight`, `colortemperaturelight` |
|
||||
| switch | Switch | R/W | State of an ON/OFF device | `onofflight` |
|
||||
| color | Color | R/W | Color of an multi-color light | `colorlight`, `extendedcolorlight`, `lightgroup`|
|
||||
| color | Color | R/W | Color of a multi-color light | `colorlight`, `extendedcolorlight`, `lightgroup`|
|
||||
| color_temperature | Number | R/W | Color temperature in Kelvin. The value range is determined by each individual light | `colortemperaturelight`, `extendedcolorlight`, `lightgroup` |
|
||||
| effect | String | R/W | Effect selection. Allowed commands are set dynamically | `colorlight` |
|
||||
| effectSpeed | Number | W | Effect Speed | `colorlight` |
|
||||
|
|
|
@ -303,7 +303,7 @@ public class LightThingHandler extends DeconzBaseThingHandler {
|
|||
LightMessage lightMessage = (LightMessage) stateResponse;
|
||||
|
||||
if (needsPropertyUpdate) {
|
||||
// if we did not receive an ctmin/ctmax, then we probably don't need it
|
||||
// if we did not receive a ctmin/ctmax, then we probably don't need it
|
||||
needsPropertyUpdate = false;
|
||||
|
||||
Integer ctmax = lightMessage.ctmax;
|
||||
|
|
|
@ -377,7 +377,7 @@ public final class EventAttribute<VALUE_TYPE, STATE_TYPE extends State>
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns an single station from an path value (i.e. pipe separated value of stations).
|
||||
* Returns a single station from a path value (i.e. pipe separated value of stations).
|
||||
*
|
||||
* @param getPath Getter for the path.
|
||||
* @param returnFirst if <code>true</code> the first value will be returned, <code>false</code> will return the last
|
||||
|
@ -401,8 +401,8 @@ public final class EventAttribute<VALUE_TYPE, STATE_TYPE extends State>
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns all intermediate stations from an path. The first or last station will be omitted. The values will be
|
||||
* separated by an single dash -.
|
||||
* Returns all intermediate stations from a path. The first or last station will be omitted. The values will be
|
||||
* separated by a single dash -.
|
||||
*
|
||||
* @param getPath Getter for the path.
|
||||
* @param removeFirst if <code>true</code> the first value will be removed, <code>false</code> will remove the last
|
||||
|
|
|
@ -15,7 +15,7 @@ package org.openhab.binding.deutschebahn.internal.filter;
|
|||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
|
||||
/**
|
||||
* A token representing an conjunction.
|
||||
* A token representing a conjunction.
|
||||
*
|
||||
* @author Sönke Küper - Initial contribution.
|
||||
*/
|
||||
|
|
|
@ -134,7 +134,7 @@ public final class FilterParser {
|
|||
}
|
||||
|
||||
/**
|
||||
* State while parsing an conjunction.
|
||||
* State while parsing a conjunction.
|
||||
*/
|
||||
private static final class AndState extends State {
|
||||
|
||||
|
@ -226,7 +226,7 @@ public final class FilterParser {
|
|||
}
|
||||
|
||||
/**
|
||||
* State while parsing an Subquery.
|
||||
* State while parsing a Subquery.
|
||||
*/
|
||||
private static final class SubQueryState extends State {
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ public final class FilterScanner {
|
|||
}
|
||||
|
||||
/**
|
||||
* State scanning an channel name until the equals-sign.
|
||||
* State scanning a channel name until the equals-sign.
|
||||
*/
|
||||
private final class ChannelNameState implements State {
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ package org.openhab.binding.deutschebahn.internal.filter;
|
|||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
|
||||
/**
|
||||
* A token representing a part of an filter expression.
|
||||
* A token representing a part of a filter expression.
|
||||
*
|
||||
* @author Sönke Küper - Initial contribution.
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,7 @@ package org.openhab.binding.deutschebahn.internal.filter;
|
|||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
|
||||
/**
|
||||
* A token representing an disjunction.
|
||||
* A token representing a disjunction.
|
||||
*
|
||||
* @author Sönke Küper - Initial contribution.
|
||||
*/
|
||||
|
|
|
@ -18,7 +18,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
|||
import org.openhab.binding.deutschebahn.internal.timetable.dto.TimetableStop;
|
||||
|
||||
/**
|
||||
* Predicate to match an TimetableStop
|
||||
* Predicate to match a TimetableStop
|
||||
*
|
||||
* @author Sönke Küper - initial contribution.
|
||||
*/
|
||||
|
|
|
@ -193,7 +193,7 @@ public final class TimetableLoader {
|
|||
requestTime.setTime(currentTime);
|
||||
}
|
||||
|
||||
// Determine the max. time for which an plan is available
|
||||
// Determine the max. time for which a plan is available
|
||||
final GregorianCalendar maxRequestTime = new GregorianCalendar();
|
||||
maxRequestTime.setTime(currentTime);
|
||||
maxRequestTime.set(Calendar.HOUR_OF_DAY, maxRequestTime.get(Calendar.HOUR_OF_DAY) + MAX_ADVANCE_HOUR);
|
||||
|
@ -225,7 +225,7 @@ public final class TimetableLoader {
|
|||
private void processLoadedPlan(List<TimetableStop> stops, Date currentTime) {
|
||||
for (final TimetableStop stop : stops) {
|
||||
|
||||
// Check if an change for the stop was cached and apply it
|
||||
// Check if a change for the stop was cached and apply it
|
||||
final TimetableStop change = this.cachedChanges.remove(stop.getId());
|
||||
if (change != null) {
|
||||
TimetableStopMerger.merge(stop, change);
|
||||
|
@ -275,7 +275,7 @@ public final class TimetableLoader {
|
|||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
// The recent changes are only available for 120 seconds, so if last update is older perform an full update.
|
||||
// The recent changes are only available for 120 seconds, so if last update is older perform a full update.
|
||||
if (secondsSinceLastUpdate >= MAX_RECENT_CHANGE_UPDATE) {
|
||||
fullChanges = true;
|
||||
}
|
||||
|
|
|
@ -101,7 +101,7 @@ public final class TimetablesV1Impl implements TimetablesV1Api {
|
|||
|
||||
// The results from webservice does not conform to the schema provided. The triplabel-Element (tl) is expected
|
||||
// to occour as
|
||||
// last Element within an timetableStop (s) element. But it is the first element when requesting the plan.
|
||||
// last Element within a timetableStop (s) element. But it is the first element when requesting the plan.
|
||||
// When requesting the changes it is the last element, so the schema can't just be corrected.
|
||||
// If written to developer support, but got no response yet, so schema validation is disabled at the moment.
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ public class TripLabelAttributeTest {
|
|||
assertThat(attribute.getValue(new TripLabel()), is(nullValue()));
|
||||
assertThat(attribute.getState(new TripLabel()), is(nullValue()));
|
||||
|
||||
// Create an trip label and set the attribute value.
|
||||
// Create a trip label and set the attribute value.
|
||||
final TripLabel labelWithValueSet = new TripLabel();
|
||||
setValue.accept(labelWithValueSet);
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.eclipse.jdt.annotation.Nullable;
|
|||
import org.openhab.binding.deutschebahn.internal.timetable.dto.Timetable;
|
||||
|
||||
/**
|
||||
* Stub Implementation of {@link TimetablesV1Api}, that may return an preconfigured Timetable or
|
||||
* Stub Implementation of {@link TimetablesV1Api}, that may return a preconfigured Timetable or
|
||||
* throws an {@link IOException} if not data has been set.
|
||||
*
|
||||
* @author Sönke Küper - initial contribution
|
||||
|
|
|
@ -236,7 +236,7 @@ The digitalSTROM-Scenes can be defined with following parameters.
|
|||
| Scene ID or name | sceneID |The call scene ID or scene name, e.g. preset 1 for scene ID 5. Callable scenes are from 0 to 126. | false | false |
|
||||
|
||||
The Scene-Thing-Type _Named-Scene_ and _Group-Scene_ have all parameters.
|
||||
The _Apartment-Scene_ only has the parameters _Scene name_ and _Scene ID_ an the _Zone-Scene_ has all parameters without _Group ID or name_.
|
||||
The _Apartment-Scene_ only has the parameters _Scene name_ and _Scene ID_ and the _Zone-Scene_ has all parameters without _Group ID or name_.
|
||||
|
||||
### Textual configuration examples
|
||||
|
||||
|
|
|
@ -632,7 +632,7 @@ public class BridgeHandler extends BaseBridgeHandler
|
|||
case WRONG_APP_TOKEN:
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
|
||||
"User defined Application-Token is wrong. "
|
||||
+ "Please set user name and password to generate an Application-Token or set an valid Application-Token.");
|
||||
+ "Please set user name and password to generate an Application-Token or set a valid Application-Token.");
|
||||
stopServices();
|
||||
return;
|
||||
case WRONG_USER_OR_PASSWORD:
|
||||
|
|
|
@ -30,7 +30,7 @@ public abstract class BaseTemperatureControl extends BaseZoneIdentifier {
|
|||
protected Short controlMode;
|
||||
|
||||
/**
|
||||
* Creates a new {@link BaseTemperatureControl} through the {@link JsonObject} which will be returned by an zone
|
||||
* Creates a new {@link BaseTemperatureControl} through the {@link JsonObject} which will be returned by a zone
|
||||
* call.<br>
|
||||
* Because zone calls do not include a zoneID or zoneName in the json response, the zoneID and zoneName have to
|
||||
* be handed over the constructor.
|
||||
|
|
|
@ -28,7 +28,7 @@ public abstract class BaseZoneIdentifier implements ZoneIdentifier {
|
|||
protected String zoneName;
|
||||
|
||||
/**
|
||||
* Creates a new {@link BaseZoneIdentifier} with an zone id and zone name.
|
||||
* Creates a new {@link BaseZoneIdentifier} with a zone id and zone name.
|
||||
*
|
||||
* @param zoneID must not be null
|
||||
* @param zoneName can be null
|
||||
|
@ -39,7 +39,7 @@ public abstract class BaseZoneIdentifier implements ZoneIdentifier {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new {@link BaseZoneIdentifier} through the {@link JsonObject} of the response of an digitalSTROM-API
|
||||
* Creates a new {@link BaseZoneIdentifier} through the {@link JsonObject} of the response of a digitalSTROM-API
|
||||
* apartment call.
|
||||
*
|
||||
* @param jObject must not be null
|
||||
|
|
|
@ -47,7 +47,7 @@ public class AssignedSensors extends BaseZoneIdentifier {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new {@link AssignedSensors} through the {@link JsonObject} which will be returned by an zone call.
|
||||
* Creates a new {@link AssignedSensors} through the {@link JsonObject} which will be returned by a zone call.
|
||||
* Because of zone calls does not include a zoneID or zoneName in the json response, the zoneID and zoneName have to
|
||||
* be handed over the constructor.
|
||||
*
|
||||
|
|
|
@ -50,7 +50,7 @@ public class SensorValues extends BaseSensorValues implements ZoneIdentifier {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new {@link SensorValues} through the {@link JsonObject} which will be returned by an zone call.
|
||||
* Creates a new {@link SensorValues} through the {@link JsonObject} which will be returned by a zone call.
|
||||
* Because of zone calls does not include a zoneID or zoneName in the json response, the zoneID and zoneName have to
|
||||
* be handed over the constructor.
|
||||
*
|
||||
|
|
|
@ -54,7 +54,7 @@ public class TemperatureControlConfig extends BaseTemperatureControl {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new {@link TemperatureControlConfig} through the {@link JsonObject} which will be returned by an zone
|
||||
* Creates a new {@link TemperatureControlConfig} through the {@link JsonObject} which will be returned by a zone
|
||||
* call.<br>
|
||||
* Because of zone calls does not include a zoneID or zoneName in the json response, the zoneID and zoneName have to
|
||||
* be handed over the constructor.
|
||||
|
|
|
@ -55,7 +55,7 @@ public class TemperatureControlStatus extends BaseTemperatureControl {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new {@link TemperatureControlStatus} through the {@link JsonObject} which will be returned by an zone
|
||||
* Creates a new {@link TemperatureControlStatus} through the {@link JsonObject} which will be returned by a zone
|
||||
* call.<br>
|
||||
* Because of zone calls does not include a zoneID or zoneName in the json response, the zoneID and zoneName have to
|
||||
* be handed over the constructor.
|
||||
|
|
|
@ -48,7 +48,7 @@ public class TemperatureControlValues extends BaseZoneIdentifier {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new {@link TemperatureControlValues} through the {@link JsonObject} which will be returned by an zone
|
||||
* Creates a new {@link TemperatureControlValues} through the {@link JsonObject} which will be returned by a zone
|
||||
* call.<br>
|
||||
* Because of zone calls does not include a zoneID or zoneName in the json response, the zoneID and zoneName have to
|
||||
* be handed over the constructor.
|
||||
|
|
|
@ -17,7 +17,7 @@ import java.util.Map;
|
|||
import org.openhab.binding.digitalstrom.internal.lib.event.constants.EventResponseEnum;
|
||||
|
||||
/**
|
||||
* The {@link EventItem} represents an event item of an digitalSTROM-Event.
|
||||
* The {@link EventItem} represents an event item of a digitalSTROM-Event.
|
||||
*
|
||||
* @author Alexander Betker
|
||||
* @author Michael Ochel - add getSource()
|
||||
|
|
|
@ -62,7 +62,7 @@ public interface DeviceStatusListener {
|
|||
void onDeviceAdded(GeneralDeviceInformation device);
|
||||
|
||||
/**
|
||||
* This method is called whenever a configuration of an device has changed. What configuration has changed
|
||||
* This method is called whenever a configuration of a device has changed. What configuration has changed
|
||||
* can be see by the given parameter whatConfig to handle the change.<br>
|
||||
* Please have a look at {@link ChangeableDeviceConfigEnum} to see what configuration are changeable.
|
||||
*
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.openhab.binding.digitalstrom.internal.lib.listener.stateenums.Manager
|
|||
public interface ManagerStatusListener {
|
||||
|
||||
/**
|
||||
* This method is called whenever the state of an digitalSTROM-Manager has changed.<br>
|
||||
* This method is called whenever the state of a digitalSTROM-Manager has changed.<br>
|
||||
* For that it passes the {@link ManagerTypes} and the new {@link ManagerStates}.
|
||||
*
|
||||
* @param managerType of the digitalSTROM-Manager
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.openhab.binding.digitalstrom.internal.lib.structure.scene.InternalSce
|
|||
/**
|
||||
* <p>
|
||||
* The {@link DeviceStatusManager} is responsible for the synchronization between the internal model of the
|
||||
* digitalSTROM-devices and the real existing digitalSTROM-devices. You can change the state of an device by sending a
|
||||
* digitalSTROM-devices and the real existing digitalSTROM-devices. You can change the state of a device by sending a
|
||||
* direct command to the devices or by calling a scene. Furthermore the {@link DeviceStatusManager} get informed over
|
||||
* the {@link SceneManager} by the {@link EventListener} if scenes are called by external sources. All
|
||||
* configurations of the physically device will be synchronized to the internally managed model and updated as required.
|
||||
|
|
|
@ -110,7 +110,7 @@ public interface StructureManager {
|
|||
Map<Short, List<Device>> getGroupsFromZoneX(int zoneID);
|
||||
|
||||
/**
|
||||
* Returns the reference {@link List} of the {@link Device}'s of an zone-group.
|
||||
* Returns the reference {@link List} of the {@link Device}'s of a zone-group.
|
||||
*
|
||||
* @param zoneID of the zone
|
||||
* @param groupID of the group
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
package org.openhab.binding.digitalstrom.internal.lib.serverconnection;
|
||||
|
||||
/**
|
||||
* The {@link HttpTransport} executes an request to the DigitalSTROM-Server.
|
||||
* The {@link HttpTransport} executes a request to the DigitalSTROM-Server.
|
||||
*
|
||||
* @author Michael Ochel - Initial contribution
|
||||
* @author Matthias Siegele - Initial contribution
|
||||
|
|
|
@ -52,10 +52,10 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* The {@link HttpTransportImpl} executes an request to the digitalSTROM-Server.
|
||||
* The {@link HttpTransportImpl} executes a request to the digitalSTROM-Server.
|
||||
* <p>
|
||||
* If a {@link Config} is given at the constructor. It sets the SSL-Certificate what is set in
|
||||
* {@link Config#getCert()}. If there is no SSL-Certificate, but an path to an external SSL-Certificate file what is set
|
||||
* {@link Config#getCert()}. If there is no SSL-Certificate, but a path to an external SSL-Certificate file what is set
|
||||
* in {@link Config#getTrustCertPath()} this will be set. If no SSL-Certificate is set in the {@link Config} it will be
|
||||
* red out from the server and set in {@link Config#setCert(String)}.
|
||||
*
|
||||
|
|
|
@ -21,7 +21,7 @@ import com.google.gson.JsonParseException;
|
|||
import com.google.gson.JsonParser;
|
||||
|
||||
/**
|
||||
* The {@link JSONResponseHandler} checks an digitalSTROM-JSON response and can parse it to a {@link JsonObject}.
|
||||
* The {@link JSONResponseHandler} checks a digitalSTROM-JSON response and can parse it to a {@link JsonObject}.
|
||||
*
|
||||
* @author Alexander Betker - Initial contribution
|
||||
* @author Alex Maier - Initial contribution
|
||||
|
@ -65,7 +65,7 @@ public class JSONResponseHandler {
|
|||
try {
|
||||
return (JsonObject) JsonParser.parseString(jsonResponse);
|
||||
} catch (JsonParseException e) {
|
||||
LOGGER.error("An JsonParseException occurred by parsing jsonRequest: {}", jsonResponse, e);
|
||||
LOGGER.error("A JsonParseException occurred by parsing jsonRequest: {}", jsonResponse, e);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
|
@ -163,7 +163,7 @@ public interface Device extends GeneralDeviceInformation {
|
|||
void increase();
|
||||
|
||||
/**
|
||||
* Adds an decrease command as {@link DeviceStateUpdate} to the list of outstanding commands.
|
||||
* Adds a decrease command as {@link DeviceStateUpdate} to the list of outstanding commands.
|
||||
*/
|
||||
void decrease();
|
||||
|
||||
|
@ -175,7 +175,7 @@ public interface Device extends GeneralDeviceInformation {
|
|||
int getSlatPosition();
|
||||
|
||||
/**
|
||||
* Adds an set slat position command as {@link DeviceStateUpdate} with the given slat position to the list of
|
||||
* Adds a set slat position command as {@link DeviceStateUpdate} with the given slat position to the list of
|
||||
* outstanding commands.
|
||||
*
|
||||
* @param slatPosition to set
|
||||
|
@ -205,7 +205,7 @@ public interface Device extends GeneralDeviceInformation {
|
|||
short getOutputValue();
|
||||
|
||||
/**
|
||||
* Adds an set output value command as {@link DeviceStateUpdate} with the given output value to the list of
|
||||
* Adds a set output value command as {@link DeviceStateUpdate} with the given output value to the list of
|
||||
* outstanding commands.
|
||||
*
|
||||
* @param outputValue to set
|
||||
|
@ -427,7 +427,7 @@ public interface Device extends GeneralDeviceInformation {
|
|||
short getAnglePosition();
|
||||
|
||||
/**
|
||||
* Adds an set angle value command as {@link DeviceStateUpdate} with the given angle value to the list of
|
||||
* Adds a set angle value command as {@link DeviceStateUpdate} with the given angle value to the list of
|
||||
* outstanding commands.
|
||||
*
|
||||
* @param angle to set
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.openhab.binding.digitalstrom.internal.lib.structure.devices.devicepar
|
|||
import org.openhab.binding.digitalstrom.internal.lib.structure.devices.deviceparameters.impl.DSUID;
|
||||
|
||||
/**
|
||||
* The {@link CachedMeteringValue} saves the metering value of an digitalSTROM-Circuit.
|
||||
* The {@link CachedMeteringValue} saves the metering value of a digitalSTROM-Circuit.
|
||||
*
|
||||
* @author Alexander Betker - Initial contribution
|
||||
* @author Michael Ochel - add methods getDateAsDate(), getMeteringType() and getMeteringUnit(); add missing java-doc
|
||||
|
|
|
@ -63,7 +63,7 @@ public interface DeviceStateUpdate {
|
|||
static final String UPDATE_SCENE_CONFIG = "sceneConfig";
|
||||
|
||||
// general
|
||||
/** command to refresh the output value of an device. */
|
||||
/** command to refresh the output value of a device. */
|
||||
static final String REFRESH_OUTPUT = "refreshOutput";
|
||||
|
||||
// standard values
|
||||
|
|
|
@ -17,7 +17,7 @@ import org.openhab.binding.digitalstrom.internal.lib.serverconnection.constants.
|
|||
import com.google.gson.JsonObject;
|
||||
|
||||
/**
|
||||
* The {@link DeviceBinaryInput} contains all information of an device binary input, e.g. binary input type id (see
|
||||
* The {@link DeviceBinaryInput} contains all information of a device binary input, e.g. binary input type id (see
|
||||
* {@link DeviceBinarayInputEnum}, state and so on.
|
||||
*
|
||||
* @author Michael Ochel - initial contributer
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory;
|
|||
import com.google.gson.JsonObject;
|
||||
|
||||
/**
|
||||
* The {@link DeviceSensorValue} contains all needed information of an device sensor, e.g. the sensor type, to detect
|
||||
* The {@link DeviceSensorValue} contains all needed information of a device sensor, e.g. the sensor type, to detect
|
||||
* which kind of sensor it is (see {@link SensorEnum}), the sensor index to read out sensor at the digitalSTROM device
|
||||
* by calling {@link DsAPI#getDeviceSensorValue(String, DSID, String, String, Short)} and as well as of course the value
|
||||
* and
|
||||
|
|
|
@ -111,7 +111,7 @@ public class DeviceImpl extends AbstractGeneralDeviceInformations implements Dev
|
|||
|
||||
/*
|
||||
* Saves the refresh priorities and reading initialized flag of power sensors as
|
||||
* an matrix. The first array fields are 0 = active power, 1 = output current, 2
|
||||
* a matrix. The first array fields are 0 = active power, 1 = output current, 2
|
||||
* = electric meter, 3 = power consumption and in each field is a string array
|
||||
* with the fields 0 = refresh priority 1 = reading initial flag (true = reading
|
||||
* is initialized, otherwise false)
|
||||
|
|
|
@ -85,8 +85,8 @@ public abstract class BaseDsI18n {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the internationalized text in the language of the {@link Locale} of the given key. If the key an does not
|
||||
* exist at the internationalization of the {@link Locale} the {@link Locale#ENGLISH} will be used. If the key dose
|
||||
* Returns the internationalized text in the language of the {@link Locale} of the given key. If the key does not
|
||||
* exist at the internationalization of the {@link Locale} the {@link Locale#ENGLISH} will be used. If the key does
|
||||
* not exists in {@link Locale#ENGLISH}, too, the key will be returned.
|
||||
*
|
||||
* @param key
|
||||
|
|
|
@ -18,7 +18,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
|||
import org.openhab.core.library.types.DecimalType;
|
||||
|
||||
/**
|
||||
* CosemInteger represents an decimal value
|
||||
* CosemInteger represents a decimal value
|
||||
*
|
||||
* @author M. Volaart - Initial contribution
|
||||
* @author Hilbrand Bouwkamp - Combined Integer and Double because {@link DecimalType} handles both
|
||||
|
@ -44,7 +44,7 @@ class CosemDecimal extends CosemValueDescriptor<DecimalType> {
|
|||
}
|
||||
|
||||
/**
|
||||
* Parses a String value (that represents an decimal) to a {@link DecimalType} object.
|
||||
* Parses a String value (that represents a decimal) to a {@link DecimalType} object.
|
||||
*
|
||||
* @param cosemValue the value to parse
|
||||
* @return {@link DecimalType} representing the value of the cosem value
|
||||
|
|
|
@ -235,7 +235,7 @@ public class OBISIdentifier {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns an reduced OBIS Identifier.
|
||||
* Returns a reduced OBIS Identifier.
|
||||
*
|
||||
* @return reduced OBIS Identifier
|
||||
*/
|
||||
|
@ -244,7 +244,7 @@ public class OBISIdentifier {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns an reduced OBIS Identifier with group E set to null (.i.e. not applicable)
|
||||
* Returns a reduced OBIS Identifier with group E set to null (.i.e. not applicable)
|
||||
*
|
||||
* @return reduced OBIS Identifier
|
||||
*/
|
||||
|
|
|
@ -62,7 +62,7 @@ import org.slf4j.LoggerFactory;
|
|||
* If a telegram is received with at least 1 Cosem Object a bridge is assumed available and a Thing is added (regardless
|
||||
* if there were problems receiving the telegram) and the discovery is stopped.
|
||||
*
|
||||
* If there are communication problems the service will give an warning and give up
|
||||
* If there are communication problems the service will give a warning and give up
|
||||
*
|
||||
* @author M. Volaart - Initial contribution
|
||||
* @author Hilbrand Bouwkamp - Refactored code to detect meters during actual discovery phase.
|
||||
|
|
|
@ -17,7 +17,7 @@ import org.openhab.core.thing.ThingStatus;
|
|||
import org.openhab.core.thing.ThingStatusDetail;
|
||||
|
||||
/**
|
||||
* functional interface to provide an function to update status of a thing or bridge.
|
||||
* functional interface to provide a function to update status of a thing or bridge.
|
||||
*
|
||||
* @author Alexander Friese - initial contribution
|
||||
*/
|
||||
|
|
|
@ -1176,7 +1176,7 @@ Switch SetTemperatureHold "Set Temperature Hold [%s]"
|
|||
Number:Temperature UserCool "User Selected Heat [%.1f %unit%]"
|
||||
Number:Temperature UserHeat "User Selected Cool [%.1f %unit%]"
|
||||
String UserClimateRef "User Climate Ref [%s]"
|
||||
String SendMessage "Send an Message [%s]"
|
||||
String SendMessage "Send a Message [%s]"
|
||||
String AcknowledgeAlert "Acknowledge An Alert [%s]"
|
||||
Switch GetAlerts "Get All Alerts [%s]"
|
||||
Switch GetEvents "Get All Events [%s]"
|
||||
|
|
|
@ -324,7 +324,7 @@ actions.sendQuestion("Say hello?")
|
|||
|
||||
### sendQuestion(text, timeout)
|
||||
|
||||
Sends an question message to the device with will be shown on the TV screen.
|
||||
Sends a question message to the device with will be shown on the TV screen.
|
||||
The answer is provided to the "answer"-channel.
|
||||
|
||||
Parameters:
|
||||
|
|
|
@ -398,7 +398,7 @@ public class EnvoyBridgeHandler extends BaseBridgeHandler {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Returns true if the bridge is online and not has an configuration pending.
|
||||
* @return Returns true if the bridge is online and not has a configuration pending.
|
||||
*/
|
||||
public boolean isOnline() {
|
||||
return getThing().getStatus() == ThingStatus.ONLINE;
|
||||
|
|
|
@ -163,7 +163,7 @@ public class FroniusSymoInverterHandler extends FroniusBaseThingHandler {
|
|||
* get flow data for a specific inverter.
|
||||
*
|
||||
* @param number The inverter object of the given index
|
||||
* @return an PowerFlowRealtimeInverter object.
|
||||
* @return a PowerFlowRealtimeInverter object.
|
||||
*/
|
||||
private PowerFlowRealtimeInverter getInverter(final String number) {
|
||||
return powerFlowResponse.getBody().getData().getInverters().get(number);
|
||||
|
|
|
@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
|||
import org.eclipse.jdt.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* The {@link GardenaDeviceConfig} class represents the configuration for a device connected to an Gardena account.
|
||||
* The {@link GardenaDeviceConfig} class represents the configuration for a device connected to a Gardena account.
|
||||
*
|
||||
* @author Gerhard Riegler - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -18,7 +18,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
|||
import org.eclipse.jdt.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* An exception that occurred while communicating with an groupepsa or an groupepsa bridge
|
||||
* An exception that occurred while communicating with a groupepsa or a groupepsa bridge
|
||||
*
|
||||
* @author Arjan Mels - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.slf4j.LoggerFactory;
|
|||
|
||||
/**
|
||||
* The {@Link HeosStringPropertyChangeListener} provides the possibility
|
||||
* to add a listener to an String and get informed about the new value.
|
||||
* to add a listener to a String and get informed about the new value.
|
||||
*
|
||||
* @author Johannes Einig - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* The {@link Telnet} is an Telnet Client which handles the connection
|
||||
* The {@link Telnet} is a Telnet Client which handles the connection
|
||||
* to a network via the Telnet interface
|
||||
*
|
||||
* @author Johannes Einig - Initial contribution
|
||||
|
|
|
@ -27,7 +27,7 @@ public class SimplePortPool {
|
|||
private List<PortInfo> availablePorts = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Adds the specified port to the pool an mark it as in use.
|
||||
* Adds the specified port to the pool and mark it as in use.
|
||||
*/
|
||||
public void setInUse(int port) {
|
||||
PortInfo portInfo = new PortInfo();
|
||||
|
|
|
@ -17,7 +17,7 @@ import java.util.List;
|
|||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link Correction} is a POJO for an color correction on the Hyperion server.
|
||||
* The {@link Correction} is a POJO for a color correction on the Hyperion server.
|
||||
*
|
||||
* @author Daniel Walters - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -416,7 +416,7 @@ public class IAqualinkHandler extends BaseThingHandler {
|
|||
}
|
||||
|
||||
/**
|
||||
* Update an channels state only if the value of the channel has changed since our last poll.
|
||||
* Update a channel state only if the value of the channel has changed since our last poll.
|
||||
*
|
||||
* @param name
|
||||
* @param value
|
||||
|
|
|
@ -375,7 +375,7 @@ class BiweeklyPresentableCalendar extends AbstractPresentableCalendar {
|
|||
}
|
||||
|
||||
/**
|
||||
* Checks whether an counter event blocks an event with given uid and start.
|
||||
* Checks whether a counter event blocks an event with given uid and start.
|
||||
*
|
||||
* @param startInstant The start of the event.
|
||||
* @param eventUid The uid of the event.
|
||||
|
|
|
@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
|||
import org.eclipse.jdt.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* An type enumerator to indicate whether a Command Tag is of type BEGIN or END; as in the following examples:
|
||||
* A type enumerator to indicate whether a Command Tag is of type BEGIN or END; as in the following examples:
|
||||
*
|
||||
* BEGIN:<item_name>:<new_state>
|
||||
* END:<item_name>:<new_state>
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.slf4j.LoggerFactory;
|
|||
|
||||
/**
|
||||
* This class takes data coming from the serial port and turns it
|
||||
* into an message. For that, it has to figure out the length of the
|
||||
* into a message. For that, it has to figure out the length of the
|
||||
* message from the header, and read enough bytes until it hits the
|
||||
* message boundary. The code is tricky, partly because the Insteon protocol is.
|
||||
* Most of the time the command code (second byte) is enough to determine the length
|
||||
|
|
|
@ -182,7 +182,7 @@ public class KeContactHandler extends BaseThingHandler {
|
|||
if (!isKebaReachable()) {
|
||||
logger.debug("isKebaReachable() timed out after '{}' milliseconds", System.currentTimeMillis() - stamp);
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR,
|
||||
"An timeout occurred while polling the charging station");
|
||||
"A timeout occurred while polling the charging station");
|
||||
} else {
|
||||
ByteBuffer response = cache.get(CACHE_REPORT_1);
|
||||
if (response == null) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Kodi Binding
|
||||
|
||||
[Kodi](https://kodi.tv) (formerly known as XBMC) is an free and open source (GPL) software media center for playing videos, music, pictures, games, and more.
|
||||
[Kodi](https://kodi.tv) (formerly known as XBMC) is a free and open source (GPL) software media center for playing videos, music, pictures, games, and more.
|
||||
Kodi runs on Linux, OS X, BSD, Windows, iOS, and Android.
|
||||
It allows users to play and view most videos, music, podcasts, and other digital media files from local and network storage media and the internet.
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ package org.openhab.binding.kostalinverter.internal.secondgeneration;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* The {@link SecondGenerationDxsEntriesContainer} class defines an Container, which is
|
||||
* The {@link SecondGenerationDxsEntriesContainer} class defines a Container, which is
|
||||
* used in the second generation part of the binding.
|
||||
*
|
||||
* @author Örjan Backsell - Initial contribution Piko1020, Piko New Generation
|
||||
|
|
|
@ -365,7 +365,7 @@ public class LcnModuleHandler extends BaseThingHandler {
|
|||
}
|
||||
|
||||
/**
|
||||
* Invoked when an trigger for this LCN module should be fired to openHAB.
|
||||
* Invoked when a trigger for this LCN module should be fired to openHAB.
|
||||
*
|
||||
* @param channelGroup the Channel to update
|
||||
* @param channelId the ID within the Channel to update
|
||||
|
|
|
@ -35,7 +35,7 @@ package org.openhab.binding.lgwebos.internal.handler.core;
|
|||
|
||||
/**
|
||||
* {@link ChannelInfo} is a value object to describe a channel on WebOSTV.
|
||||
* The id value is mandatory when starting an channel. The channelName is a human readable friendly name, which is not
|
||||
* The id value is mandatory when starting a channel. The channelName is a human readable friendly name, which is not
|
||||
* further interpreted by the TV.
|
||||
*
|
||||
* @author Hyun Kook Khang - Connect SDK initial contribution
|
||||
|
|
|
@ -149,7 +149,7 @@ public final class LinuxInputHandler extends DeviceReadingHandler {
|
|||
@Nullable
|
||||
EvdevDevice currentDevice = device;
|
||||
if (currentDevice == null) {
|
||||
throw new IOException("trying to handle events without an device");
|
||||
throw new IOException("trying to handle events without a device");
|
||||
}
|
||||
SelectionKey evdevReady = currentDevice.register(selector);
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ package org.openhab.binding.loxone.internal.controls;
|
|||
import org.openhab.binding.loxone.internal.types.LxUuid;
|
||||
|
||||
/**
|
||||
* An LeftRightAnalog type of control on Loxone Miniserver.
|
||||
* A LeftRightAnalog type of control on Loxone Miniserver.
|
||||
* <p>
|
||||
* According to Loxone API documentation, LeftRightAnalog control is a virtual input that is analog and has an input
|
||||
* type
|
||||
|
|
|
@ -15,7 +15,7 @@ package org.openhab.binding.loxone.internal.controls;
|
|||
import org.openhab.binding.loxone.internal.types.LxUuid;
|
||||
|
||||
/**
|
||||
* An LeftRightDigital type of control on Loxone Miniserver.
|
||||
* A LeftRightDigital type of control on Loxone Miniserver.
|
||||
* <p>
|
||||
* According to Loxone API documentation, LeftRightDigital control is a virtual input that is digital and has an input
|
||||
* type left-right buttons. It has no states and can only accept commands. Only left/right (which are actually equal to
|
||||
|
|
|
@ -31,7 +31,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* Represents a restartable socket connection to the underlying telnet session with an GRX-PRG/GRX-CI-PRG. Commands can
|
||||
* Represents a restartable socket connection to the underlying telnet session with a GRX-PRG/GRX-CI-PRG. Commands can
|
||||
* be sent via {@link #sendCommand(String)} and responses will be received on the {@link SocketSessionCallback}
|
||||
*
|
||||
* @author Tim Roberts - Initial contribution
|
||||
|
|
|
@ -63,7 +63,7 @@ public class MagentaTVDiscoveryParticipant implements UpnpDiscoveryParticipant {
|
|||
|
||||
ThingUID uid = getThingUID(device);
|
||||
if (uid != null) {
|
||||
logger.debug("Discovered an MagentaTV Media Receiver {}, UDN: {}, Model {}.{}",
|
||||
logger.debug("Discovered a MagentaTV Media Receiver {}, UDN: {}, Model {}.{}",
|
||||
device.getDetails().getFriendlyName(), device.getIdentity().getUdn().getIdentifierString(),
|
||||
modelName, device.getDetails().getModelDetails().getModelNumber());
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ public final class Utils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Converts an Java signed byte into its general (unsigned) value as being
|
||||
* Converts a Java signed byte into its general (unsigned) value as being
|
||||
* used in other programming languages and platforms.
|
||||
*
|
||||
* @param b
|
||||
|
|
|
@ -17,7 +17,7 @@ import org.openhab.binding.modbus.stiebeleltron.internal.dto.SystemInformationBl
|
|||
import org.openhab.core.io.transport.modbus.ModbusRegisterArray;
|
||||
|
||||
/**
|
||||
* Parses inverter modbus data into an SystemB Information lock
|
||||
* Parses inverter modbus data into a SystemB Information lock
|
||||
*
|
||||
* @author Paul Frank - Initial contribution
|
||||
*
|
||||
|
|
|
@ -17,7 +17,7 @@ import org.openhab.binding.modbus.stiebeleltron.internal.dto.SystemParameterBloc
|
|||
import org.openhab.core.io.transport.modbus.ModbusRegisterArray;
|
||||
|
||||
/**
|
||||
* Parses inverter modbus data into an System Parameter Block
|
||||
* Parses inverter modbus data into a System Parameter Block
|
||||
*
|
||||
* @author Paul Frank - Initial contribution
|
||||
*
|
||||
|
|
|
@ -17,7 +17,7 @@ import org.openhab.binding.modbus.stiebeleltron.internal.dto.SystemStateBlock;
|
|||
import org.openhab.core.io.transport.modbus.ModbusRegisterArray;
|
||||
|
||||
/**
|
||||
* Parses inverter modbus data into an System State Block
|
||||
* Parses inverter modbus data into a System State Block
|
||||
*
|
||||
* @author Paul Frank - Initial contribution
|
||||
*
|
||||
|
|
|
@ -9,7 +9,7 @@ The binding can act as
|
|||
* Modbus TCP Client (that is, as modbus master), querying data from Modbus TCP servers (that is, modbus slaves)
|
||||
* Modbus serial master, querying data from modbus serial slaves
|
||||
|
||||
The Modbus binding polls the slave data with an configurable poll period.
|
||||
The Modbus binding polls the slave data with a configurable poll period.
|
||||
openHAB commands are translated to write requests.
|
||||
|
||||
The binding has the following extensions:
|
||||
|
|
|
@ -44,7 +44,7 @@ thing-type.config.modbus.data.writeMaxTries.description = Number of tries when w
|
|||
thing-type.config.modbus.data.writeMultipleEvenWithSingleRegisterOrCoil.label = Write Multiple Even with Single Register or Coil
|
||||
thing-type.config.modbus.data.writeMultipleEvenWithSingleRegisterOrCoil.description = Whether single register / coil of data is written using FC16 ("Write Multiple Holding Registers") / FC15 ("Write Multiple Coils"), respectively. <br /> <br />If false, FC6/FC5 are used with single register and single coil, respectively.
|
||||
thing-type.config.modbus.data.writeStart.label = Write Address
|
||||
thing-type.config.modbus.data.writeStart.description = Start address of the first holding register or coil in the write. Use empty for read-only things. <br />Use zero based address, e.g. in place of 400001 (first holding register), use the address 0. This address is passed to data frame as is. <br />One can write individual bits of an register using X.Y format where X is the register and Y is the bit (0 refers to least significant bit).
|
||||
thing-type.config.modbus.data.writeStart.description = Start address of the first holding register or coil in the write. Use empty for read-only things. <br />Use zero based address, e.g. in place of 400001 (first holding register), use the address 0. This address is passed to data frame as is. <br />One can write individual bits of a register using X.Y format where X is the register and Y is the bit (0 refers to least significant bit).
|
||||
thing-type.config.modbus.data.writeTransform.label = Write Transform
|
||||
thing-type.config.modbus.data.writeTransform.description = Transformation to apply to received commands. <br /><br />Use "default" to communicate that no transformation is done and value should be passed as is. <br />Use SERVICENAME(ARG) or SERVICENAME:ARG to use transformation service. <br />Any other value than the above types will be interpreted as static text, in which case the actual content of the command <br />You can chain many transformations with ∩, for example SERVICE1:ARG1∩SERVICE2:ARG2 value is ignored.
|
||||
thing-type.config.modbus.data.writeType.label = Write Type
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
<label>Write Address</label>
|
||||
<description><![CDATA[Start address of the first holding register or coil in the write. Use empty for read-only things.
|
||||
<br />Use zero based address, e.g. in place of 400001 (first holding register), use the address 0. This address is passed to data frame as is.
|
||||
<br />One can write individual bits of an register using X.Y format where X is the register and Y is the bit (0 refers to least significant bit).
|
||||
<br />One can write individual bits of a register using X.Y format where X is the register and Y is the bit (0 refers to least significant bit).
|
||||
]]></description>
|
||||
</parameter>
|
||||
<parameter name="writeType" type="text">
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.openhab.core.library.types.UpDownType;
|
|||
import org.openhab.core.types.Command;
|
||||
|
||||
/**
|
||||
* Implements an rollershutter value.
|
||||
* Implements a rollershutter value.
|
||||
* <p>
|
||||
* The stop, up and down strings have multiple purposes.
|
||||
* For one if those strings are received via MQTT they are recognised as corresponding commands
|
||||
|
|
|
@ -96,7 +96,7 @@ public class ComponentChannel {
|
|||
|
||||
public CompletableFuture<@Nullable Void> start(MqttBrokerConnection connection, ScheduledExecutorService scheduler,
|
||||
int timeout) {
|
||||
// Make sure we set the callback again which might have been nulled during an stop
|
||||
// Make sure we set the callback again which might have been nulled during a stop
|
||||
channelState.setChannelStateUpdateListener(this.channelStateUpdateListener);
|
||||
|
||||
return channelState.start(connection, scheduler, timeout);
|
||||
|
|
|
@ -291,7 +291,7 @@ public class Property implements AttributeChanged {
|
|||
f.completeExceptionally(new IllegalStateException("Attributes not yet received!"));
|
||||
return f;
|
||||
}
|
||||
// Make sure we set the callback again which might have been nulled during an stop
|
||||
// Make sure we set the callback again which might have been nulled during a stop
|
||||
channelState.setChannelStateUpdateListener(this.callback);
|
||||
return channelState.start(connection, scheduler, timeout);
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ import org.eclipse.jdt.annotation.Nullable;
|
|||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The model representing an forward actions result (serialize/deserialize json use only).
|
||||
* The model representing a forward actions result (serialize/deserialize json use only).
|
||||
*
|
||||
* @author Tim Roberts - Initial contribution
|
||||
*
|
||||
|
|
|
@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
|||
import org.eclipse.jdt.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* The model representing an forward actions request (serialize/deserialize json use only).
|
||||
* The model representing a forward actions request (serialize/deserialize json use only).
|
||||
*
|
||||
* @author Tim Roberts - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -16,7 +16,7 @@ import java.util.HashMap;
|
|||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Contains the data needed to do an WWN update request back to Nest.
|
||||
* Contains the data needed to do a WWN update request back to Nest.
|
||||
*
|
||||
* @author David Bennett - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -119,7 +119,7 @@ offline.configuration-error.actionRemoved = Action has been removed from control
|
|||
offline.configuration-error.energyMeterId = Configured energy meter ID does not match an energy meter in controller
|
||||
offline.configuration-error.energyMeterRemoved = Energy meter has been removed from controller
|
||||
|
||||
offline.configuration-error.thermostatId = Configured thermostat ID does not match an thermostat in controller
|
||||
offline.configuration-error.thermostatId = Configured thermostat ID does not match a thermostat in controller
|
||||
offline.configuration-error.thermostatRemoved = Thermostat has been removed from controller
|
||||
|
||||
offline.configuration-error.invalid-bridge-handler = Invalid bridge handler
|
||||
|
|
|
@ -32,7 +32,7 @@ public final class WeekProfileRegister {
|
|||
private @NotNull Map<Integer, WeekProfile> register = new HashMap<Integer, WeekProfile>();
|
||||
|
||||
/**
|
||||
* Stores a new week profile in the register. If an week profile exists with the same id, that value is overwritten.
|
||||
* Stores a new week profile in the register. If a week profile exists with the same id, that value is overwritten.
|
||||
*
|
||||
* @param profile The week profile to store.
|
||||
*/
|
||||
|
|
|
@ -40,7 +40,7 @@ thing-type.omnilink.humidity_sensor.description = A humidity sensor configured i
|
|||
thing-type.omnilink.lock.label = Lock
|
||||
thing-type.omnilink.lock.description = An access control reader lock configured in the controller.
|
||||
thing-type.omnilink.lumina_area.label = Lumina Area
|
||||
thing-type.omnilink.lumina_area.description = An Lumina area configured in the controller.
|
||||
thing-type.omnilink.lumina_area.description = A Lumina area configured in the controller.
|
||||
thing-type.omnilink.output.label = Voltage Output
|
||||
thing-type.omnilink.output.description = A voltage output configured in the controller.
|
||||
thing-type.omnilink.output.channel.switch.label = Voltage Output Switch
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<bridge-type-ref id="controller"/>
|
||||
</supported-bridge-type-refs>
|
||||
<label>Lumina Area</label>
|
||||
<description>An Lumina area configured in the controller.</description>
|
||||
<description>A Lumina area configured in the controller.</description>
|
||||
<channels>
|
||||
<channel id="mode" typeId="lumina_area_mode"/>
|
||||
<channel id="home" typeId="area_command"/>
|
||||
|
|
|
@ -40,7 +40,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* The {@link BAE0910} class defines an BAE0910 device
|
||||
* The {@link BAE0910} class defines a BAE0910 device
|
||||
*
|
||||
* @author Jan N. Klug - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* The {@link DS18x20} class defines an DS18x20 or DS1822 device
|
||||
* The {@link DS18x20} class defines a DS18x20 or DS1822 device
|
||||
*
|
||||
* @author Jan N. Klug - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* The {@link DS1923} class defines an DS1923 device
|
||||
* The {@link DS1923} class defines a DS1923 device
|
||||
*
|
||||
* @author Jan N. Klug - Initial contribution
|
||||
* @author Michał Wójcik - Adapted to DS1923
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.openhab.binding.onewire.internal.handler.OwBaseThingHandler;
|
|||
import org.openhab.binding.onewire.internal.handler.OwserverBridgeHandler;
|
||||
|
||||
/**
|
||||
* The {@link DS2401} class defines an DS2401 (iButton) device
|
||||
* The {@link DS2401} class defines a DS2401 (iButton) device
|
||||
*
|
||||
* @author Jan N. Klug - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.openhab.binding.onewire.internal.handler.OwBaseThingHandler;
|
|||
import org.openhab.binding.onewire.internal.owserver.OwserverDeviceParameter;
|
||||
|
||||
/**
|
||||
* The {@link DS2405} class defines an DS2405 device
|
||||
* The {@link DS2405} class defines a DS2405 device
|
||||
*
|
||||
* @author Jan N. Klug - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.openhab.binding.onewire.internal.handler.OwBaseThingHandler;
|
|||
import org.openhab.binding.onewire.internal.owserver.OwserverDeviceParameter;
|
||||
|
||||
/**
|
||||
* The {@link DS2406_DS2413} class defines an DS2406 or DS2413 device
|
||||
* The {@link DS2406_DS2413} class defines a DS2406 or DS2413 device
|
||||
*
|
||||
* @author Jan N. Klug - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.openhab.binding.onewire.internal.handler.OwBaseThingHandler;
|
|||
import org.openhab.binding.onewire.internal.owserver.OwserverDeviceParameter;
|
||||
|
||||
/**
|
||||
* The {@link DS2408} class defines an DS2408 device
|
||||
* The {@link DS2408} class defines a DS2408 device
|
||||
*
|
||||
* @author Jan N. Klug - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* The {@link DS2423} class defines an DS2423 device
|
||||
* The {@link DS2423} class defines a DS2423 device
|
||||
*
|
||||
* @author Jan N. Klug - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* The {@link DS2438} class defines an DS2438 device
|
||||
* The {@link DS2438} class defines a DS2438 device
|
||||
*
|
||||
* @author Jan N. Klug - Initial contribution
|
||||
*/
|
||||
|
|
|
@ -164,7 +164,7 @@ class OpenSprinklerHttpApiV210 extends OpenSprinklerHttpApiV100 {
|
|||
switch (returnCode) {
|
||||
case -1:
|
||||
throw new UnknownApiException(
|
||||
"The OpenSprinkler API returnd an result that was not parseable: " + returnContent);
|
||||
"The OpenSprinkler API returnd a result that was not parseable: " + returnContent);
|
||||
case 1:
|
||||
return;
|
||||
case 2:
|
||||
|
|
|
@ -112,7 +112,7 @@ public class Parse {
|
|||
}
|
||||
|
||||
/**
|
||||
* Parses an String array from a JSON string given its key name.
|
||||
* Parses a String array from a JSON string given its key name.
|
||||
*
|
||||
* @param jsonData The JSON formatted string to parse from.
|
||||
* @param keyName The name of the object array to search through.
|
||||
|
|
|
@ -44,7 +44,7 @@ public class PHCHelper {
|
|||
}
|
||||
|
||||
/**
|
||||
* Convert the byte b into an binary String
|
||||
* Convert the byte b into a binary String
|
||||
*
|
||||
* @param b
|
||||
* @return
|
||||
|
|
|
@ -438,7 +438,7 @@ public class PHCBridgeHandler extends BaseBridgeHandler implements SerialPortEve
|
|||
amOutputState[qo.getModuleAddress() & 0x1F] = -1;
|
||||
} else if (PHCBindingConstants.CHANNELS_DIM.equals(qo.getModuleType())) {
|
||||
// state ist the same for every dim level except zero/off -> inizialize state
|
||||
// with 0x0F after sending an command.
|
||||
// with 0x0F after sending a command.
|
||||
dmOutputState[qo.getModuleAddress() & 0x1F] |= (0x0F << (qo.getChannel() * 4));
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ thing-type.phc.DIM.description = Thing for a dimmer module (DM).
|
|||
thing-type.phc.EM.label = PHC EM
|
||||
thing-type.phc.EM.description = Thing for an input/switch module (EM).
|
||||
thing-type.phc.JRM.label = PHC JRM
|
||||
thing-type.phc.JRM.description = Thing for an shutter module (JRM).
|
||||
thing-type.phc.JRM.description = Thing for a shutter module (JRM).
|
||||
thing-type.phc.bridge.label = PHC Bridge
|
||||
thing-type.phc.bridge.description = The serial bridge to the PHC modules. Max 32 modules per model group(thing type) per Bridge, equates one STM.
|
||||
|
||||
|
@ -63,6 +63,6 @@ channel-type.phc.dim-channel.description = Channel for a DIM module.
|
|||
channel-type.phc.em-channel.label = PHC EM Channel
|
||||
channel-type.phc.em-channel.description = Channel from an EM module.
|
||||
channel-type.phc.jrm-channel.label = PHC JRM Channel
|
||||
channel-type.phc.jrm-channel.description = Channel to an JRM module.
|
||||
channel-type.phc.jrm-channel.description = Channel to a JRM module.
|
||||
channel-type.phc.jrmTime-channel.label = JRM-time Channel
|
||||
channel-type.phc.jrmTime-channel.description = The Time in seconds for an JRM channel.
|
||||
channel-type.phc.jrmTime-channel.description = The Time in seconds for a JRM channel.
|
||||
|
|
|
@ -90,13 +90,13 @@
|
|||
<channel-type id="jrm-channel">
|
||||
<item-type>Rollershutter</item-type>
|
||||
<label>PHC JRM Channel</label>
|
||||
<description>Channel to an JRM module.</description>
|
||||
<description>Channel to a JRM module.</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="jrmTime-channel" advanced="true">
|
||||
<item-type>Number</item-type>
|
||||
<label>JRM-time Channel</label>
|
||||
<description>The Time in seconds for an JRM channel.</description>
|
||||
<description>The Time in seconds for a JRM channel.</description>
|
||||
<state min="1" max="65535"/>
|
||||
</channel-type>
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue