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
* 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.
*/
}
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));
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);
|-------------------|--------------------------|:-----------:|---------------------------------------|-------------------------------------------------|
| 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` |
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;
}
/**
- * 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
}
/**
- * 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
import org.eclipse.jdt.annotation.NonNullByDefault;
/**
- * A token representing an conjunction.
+ * A token representing a conjunction.
*
* @author Sönke Küper - Initial contribution.
*/
}
/**
- * State while parsing an conjunction.
+ * State while parsing a conjunction.
*/
private static final class AndState extends State {
}
/**
- * State while parsing an Subquery.
+ * State while parsing a Subquery.
*/
private static final class SubQueryState extends State {
}
/**
- * State scanning an channel name until the equals-sign.
+ * State scanning a channel name until the equals-sign.
*/
private final class ChannelNameState implements State {
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.
*/
import org.eclipse.jdt.annotation.NonNullByDefault;
/**
- * A token representing an disjunction.
+ * A token representing a disjunction.
*
* @author Sönke Küper - Initial contribution.
*/
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.
*/
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);
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);
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;
}
// 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.
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);
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
| 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
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:
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.
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
}
/**
- * 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
}
/**
- * 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.
*
}
/**
- * 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.
*
}
/**
- * 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.
}
/**
- * 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.
}
/**
- * 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.
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()
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.
*
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
/**
* <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.
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
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
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)}.
*
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
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;
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();
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
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
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
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
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
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
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
/*
* 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)
}
/**
- * 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
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
}
/**
- * 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
}
/**
- * Returns an reduced OBIS Identifier.
+ * Returns a reduced OBIS Identifier.
*
* @return reduced OBIS Identifier
*/
}
/**
- * 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
*/
* 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.
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
*/
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]"
### 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:
}
/**
- * @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;
* 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);
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
*/
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
*/
/**
* 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
*/
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
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();
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
*/
}
/**
- * 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
}
/**
- * 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.
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>
/**
* 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
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) {
# 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.
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
}
/**
- * 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
/**
* {@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
@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);
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
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
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
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());
}
/**
- * 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
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
*
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
*
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
*
* 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:
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
<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">
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
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);
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);
}
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
*
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
*/
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
*/
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
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.
*/
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
<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"/>
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
*/
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
*/
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
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
*/
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
*/
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
*/
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
*/
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
*/
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
*/
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:
}
/**
- * 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.
}
/**
- * Convert the byte b into an binary String
+ * Convert the byte b into a binary String
*
* @param b
* @return
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));
}
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.
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.
<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>
</supported-bridge-type-refs>
<label>PHC JRM</label>
- <description>Thing for an shutter module (JRM).</description>
+ <description>Thing for a shutter module (JRM).</description>
<channel-groups>
<channel-group id="jrm" typeId="jrmChannels"/>
import org.eclipse.jdt.annotation.NonNullByDefault;
/**
- * Abstract root class for all items in an pulseaudio server. Every item in a
+ * Abstract root class for all items in a pulseaudio server. Every item in a
* pulseaudio server has a name and a unique id which can be inherited by this
* class.
*
import org.openhab.core.config.core.ParameterOption;
/**
- * The {@link Sound} is the Java class used to map the JSON response to an Pushover API request..
+ * The {@link Sound} is the Java class used to map the JSON response to a Pushover API request..
*
* @author Christoph Weitkamp - Initial contribution
*/
import org.openhab.core.config.core.ParameterOption;
/**
- * The {@link Icons} is the Java class used to map the JSON response to an Pushsafer API request..
+ * The {@link Icons} is the Java class used to map the JSON response to a Pushsafer API request..
*
* @author Kevin Siml - Initial contribution, forked from Christoph Weitkamp
*/
import org.openhab.core.config.core.ParameterOption;
/**
- * The {@link Sound} is the Java class used to map the JSON response to an Pushsafer API request.
+ * The {@link Sound} is the Java class used to map the JSON response to a Pushsafer API request.
*
* @author Kevin Siml - Initial contribution, forked from Christoph Weitkamp
*/
import org.eclipse.jdt.annotation.NonNullByDefault;
/**
- * The {@link Rego6xxProtocolException} is responsible for holding information about an Rego6xx protocol error.
+ * The {@link Rego6xxProtocolException} is responsible for holding information about a Rego6xx protocol error.
*
* @author Boris Krivonog - Initial contribution
*/
information.
* closedPulses - Closed Pulses
- * Pulses to send for an CLOSED command. Space delimited pulse lengths
+ * Pulses to send for a CLOSED command. Space delimited pulse lengths
in usec. Must be an even number of pulse lengths, with a maximum
of 142 total pulses. Max pulse length is 65535. Pulses of value 0
will be transmitted as 10000. See the RFXtfx user guide for more
thing-type.config.rfxcom.rain.subType.option.RAIN6 = La Crosse TX5
thing-type.config.rfxcom.rain.subType.option.RAIN9 = TFA 30.3233.1
thing-type.config.rfxcom.raw.closedPulses.label = Closed Pulses
-thing-type.config.rfxcom.raw.closedPulses.description = Pulses to send for an CLOSED command. Space delimited pulse lengths in usec. Must be an even number of pulse lengths, with a maximum of 142 total pulses. Max pulse length is 65535. Pulses of value 0 will be transmitted as 10000. See the RFXtfx user guide for more information.
+thing-type.config.rfxcom.raw.closedPulses.description = Pulses to send for a CLOSED command. Space delimited pulse lengths in usec. Must be an even number of pulse lengths, with a maximum of 142 total pulses. Max pulse length is 65535. Pulses of value 0 will be transmitted as 10000. See the RFXtfx user guide for more information.
thing-type.config.rfxcom.raw.deviceId.description = Received raw message cannot provide a device ID, so to receive raw messages the device id must be RAW. For transmit-only things, use any device id.
thing-type.config.rfxcom.raw.offPulses.label = Off Pulses
thing-type.config.rfxcom.raw.offPulses.description = Pulses to send for an OFF command. Space delimited pulse lengths in usec. Must be an even number of pulse lengths, with a maximum of 142 total pulses. Max pulse length is 65535. Pulses of value 0 will be transmitted as 10000. See the RFXtfx user guide for more information.
</parameter>
<parameter name="closedPulses" type="text" required="false">
<label>Closed Pulses</label>
- <description>Pulses to send for an CLOSED command. Space delimited pulse lengths in usec. Must be an even number of
+ <description>Pulses to send for a CLOSED command. Space delimited pulse lengths in usec. Must be an even number of
pulse lengths, with a maximum of 142 total pulses. Max pulse length is 65535. Pulses of value 0 will be transmitted
as 10000. See the RFXtfx user guide for more information.</description>
</parameter>
final String r = listener.getResponse();
final Matcher m = respPattern.matcher(r);
if (m.matches() && m.groupCount() >= groupNum) {
- logger.debug("Message '{}' returned an valid response: {}", message, r);
+ logger.debug("Message '{}' returned a valid response: {}", message, r);
return m.group(groupNum);
}
logger.debug("Message '{}' returned an invalid response: {}", message, r);
/**
* Defines an implementation of {@link RioHandlerCallback} that will remember the last state
- * for an channelId and suppress the callback if the state hasn't changed
+ * for a channelId and suppress the callback if the state hasn't changed
*
* @author Tim Roberts - Initial contribution
*/
## Thing Configuration
-The smartmeter thing requires the serial port where the meter device is connected and optionally an refresh interval.
+The smartmeter thing requires the serial port where the meter device is connected and optionally a refresh interval.
| Parameter | Name | Description | Required | Default |
|-----------|------|-------------|----------|---------|
}
/**
- * Read values from this device an store them locally against their OBIS code.
+ * Read values from this device a store them locally against their OBIS code.
*
* If there is an error in reading, it will be retried {@value #NUMBER_OF_RETRIES} times. The retry will be delayed
* by {@code period} seconds.
@Override
public void errorOccurred(Throwable e) {
- // Nothing to do if there is an reading error...
+ // Nothing to do if there is a reading error...
}
@Override
// ADDRESS TYPE
this.baos.write(addressType);
// ADDRESS NUMBERS
- // if address.length is not even, pad the string an with F at the end
+ // if address.length is not even, pad the string with an F at the end
String myaddress = address;
if (myaddress.length() % 2 == 1) {
myaddress = myaddress + "F";
/**
* Processes the response of the Spotify Web Api call and handles the HTTP status codes. The method returns true
* if the response indicates a successful and false if the call should be retried. If there were other problems
- * a Spotify exception is thrown indicating no retry should be done an the user should be informed.
+ * a Spotify exception is thrown indicating no retry should be done and the user should be informed.
*
* @param response the response given by the Spotify Web Api
* @return true if the response indicated a successful call, false if the call should be retried
* TA C.M.I. CoE Connection - Thing
This thing reflects a connection to a node behind a specific C.M.I..
-This node could be every CAN-Capable device from TA which allows to define an CAN-Input.
+This node could be every CAN-Capable device from TA which allows to define a CAN-Input.
## Discovery
The _TA C.M.I. CoE Connection_ has to be manually configured.
-This thing reflects a connection to a node behind a specific C.M.I.. This node could be every CAN-Capable device from TA which allows to define an CAN-Input.
+This thing reflects a connection to a node behind a specific C.M.I.. This node could be every CAN-Capable device from TA which allows to define a CAN-Input.
| Parameter Label | Parameter ID | Description | Accepted values |
|-------------------------|-----------------|---------------------------------------------------------------------------------------------------------------|------------------------|
/**
* This class can be used to decode the digital values received in a messag and
- * also to create a new DigitalMessage used to send ON/OFF to an digital CAN
+ * also to create a new DigitalMessage used to send ON/OFF to a digital CAN
* Input port
*
* @author Timo Wendt - Initial contribution
/**
* This class is a worker which execute the commands sent to the TelldusCoreDeviceController.
* This enables separation between Telldus Core and openHAB for preventing latency on the bus.
- * The Tellstick have an send pace of 4 Hz which is far slower then the bus itself.
+ * The Tellstick have a send pace of 4 Hz which is far slower then the bus itself.
*
* @author Elias Gabrielsson
*
* This class acts as and interface to the physical device.
*
* @author Christian Fischer - Initial contribution
- * @author Hilbrand Bouwkamp - Reorganized code an put connection in single class
+ * @author Hilbrand Bouwkamp - Reorganized code and put connection in single class
*/
@NonNullByDefault
public class Connection {
}
/**
- * Returns the next shutter level for an DOWN command w/ adjusting the actual position.
+ * Returns the next shutter level for a DOWN command w/ adjusting the actual position.
*
* @return <b>rollershutterLevel</b> of type Integer with next position after DOWN command.
*/
import org.slf4j.LoggerFactory;
/**
- * This is an wrapper around {@link java.io.InputStream} to support socket receive operations.
+ * This is a wrapper around {@link java.io.InputStream} to support socket receive operations.
*
* It implements a secondary polling thread to asynchronously read bytes from the socket input stream into a buffer. And
* it parses the bytes into SLIP messages, which are placed on a message queue. Callers can access the SLIP messages in
private int stateValue;
private String stateDescription;
- // Reverse-lookup map for getting a VeluxGatewayState from an TypeId
+ // Reverse-lookup map for getting a VeluxGatewayState from a TypeId
private static final Map<Integer, VeluxGatewaySubState> LOOKUPTYPEID2ENUM = Stream
.of(VeluxGatewaySubState.values())
.collect(Collectors.toMap(VeluxGatewaySubState::getStateValue, Function.identity()));
// Constants
/**
- * System table index parameter - an be a number from 0 to 203.
+ * System table index parameter - a number from 0 to 203.
*
* See <a href=
* "https://velcdn.azureedge.net/~/media/com/api/klf200/technical%20specification%20for%20klf%20200%20api.pdf#page=25">KLF200
private CommandNumber command;
private String description;
- // Reverse-lookup map for getting a Command from an TypeId
+ // Reverse-lookup map for getting a Command from a TypeId
private static final Map<Short, Command> LOOKUPTYPEID2ENUM = Stream.of(Command.values())
.collect(Collectors.toMap(Command::getShort, Function.identity()));
}
/**
- * Create an ProductState from an integer seed value.
+ * Create a ProductState from an integer seed value.
*
* @param value the seed value.
* @return the ProductState.
private String description;
private VeluxProductType typeClass;
- // Reverse-lookup map for getting an ActuatorType from an TypeId
+ // Reverse-lookup map for getting an ActuatorType from a TypeId
private static final Map<Integer, ActuatorType> LOOKUPTYPEID2ENUM = Stream.of(ActuatorType.values())
.collect(Collectors.toMap(ActuatorType::getNodeType, Function.identity()));
/**
* The {@link CdStationHydro} is the Java class used to map the JSON
- * response to an vigicrue api endpoint request.
+ * response to a vigicrue api endpoint request.
*
* @author Gaël L'hopital - Initial contribution
*/
/**
* The {@link InfoVigiCru} is the Java class used to map the JSON
- * response to an vigicrue api endpoint request.
+ * response to a vigicrue api endpoint request.
*
* @author Gaël L'hopital - Initial contribution
*/
/**
* The {@link TerEntVigiCru} is the Java class used to map the JSON
- * response to an vigicrue api endpoint request.
+ * response to a vigicrue api endpoint request.
*
* @author Gaël L'hopital - Initial contribution
*/
/**
* The {@link TronEntVigiCru} is the Java class used to map the JSON
- * response to an vigicrue api endpoint request.
+ * response to a vigicrue api endpoint request.
*
* @author Gaël L'hopital - Initial contribution
*/
/**
* The {@link VicANMoinsUn} is the Java class used to map the JSON
- * response to an vigicrue api endpoint request.
+ * response to a vigicrue api endpoint request.
*
* @author Gaël L'hopital - Initial contribution
*/
import org.slf4j.LoggerFactory;
/**
- * The {@link WolfSmartsetSystemBridgeHandler} is the handler for an WolfSmartset system.
+ * The {@link WolfSmartsetSystemBridgeHandler} is the handler for a WolfSmartset system.
*
* @author Bo Biene - Initial contribution
*/
/**
* The {@link WolfSmartsetUnitThingHandler} is responsible for updating the channels associated
- * with an WolfSmartset unit.
+ * with a WolfSmartset unit.
*
* @author Bo Biene - Initial contribution
*/
thing-type.wolfsmartset.account.label = WolfSmartset Account
thing-type.wolfsmartset.account.description = Represents an account at WolfSmartset
thing-type.wolfsmartset.system.label = WolfSmartset System
-thing-type.wolfsmartset.system.description = An WolfSmartset system
+thing-type.wolfsmartset.system.description = A WolfSmartset system
thing-type.wolfsmartset.unit.label = WolfSmartset Unit
-thing-type.wolfsmartset.unit.description = An WolfSmartset remote unit
+thing-type.wolfsmartset.unit.description = A WolfSmartset remote unit
# thing types config
<bridge-type-ref id="account"/>
</supported-bridge-type-refs>
<label>WolfSmartset System</label>
- <description>An WolfSmartset system</description>
+ <description>A WolfSmartset system</description>
<representation-property>systemId</representation-property>
<config-description-ref uri="thing-type:wolfsmartset:system"/>
</bridge-type>
<bridge-type-ref id="system"/>
</supported-bridge-type-refs>
<label>WolfSmartset Unit</label>
- <description>An WolfSmartset remote unit</description>
+ <description>A WolfSmartset remote unit</description>
<representation-property>unitId</representation-property>
<config-description-ref uri="thing-type:wolfsmartset:unit"/>
import org.slf4j.LoggerFactory;
/**
- * The {@link YamahaZoneThingHandler} is managing one zone of an Yamaha AVR.
+ * The {@link YamahaZoneThingHandler} is managing one zone of a Yamaha AVR.
* It has a state consisting of the zone, the current input ID, {@link ZoneControlState}
* and some more state objects and uses the zone control protocol
* class {@link ZoneControlXML}, {@link InputWithPlayControlXML} and {@link InputWithNavigationControlXML}
public void afterInitializeBridgeShouldBeOnline() throws InterruptedException {
// when
subject.initialize();
- // internally there is an timer, let's allow it to execute
+ // internally there is a timer, let's allow it to execute
Thread.sleep(200);
// then
}
/**
- * Transforms an value in an openHAB type.
+ * Transforms a value in an openHAB type.
*
* @param multilevel sensor value
* @return transformed openHAB state
}
/**
- * Transforms an value in an openHAB type.
+ * Transforms a value in an openHAB type.
*
* @param binary switch value
* @return transformed openHAB state
}
/**
- * Transforms an value in an openHAB type.
+ * Transforms a value in an openHAB type.
* - ON to OPEN
* - OFF to CLOSED
*
}
/**
- * Transforms an value in an openHAB type.
+ * Transforms a value in an openHAB type.
*
* @param Z-Way color value
* @return transformed openHAB state
public enum NeeoDeviceChannelKind {
/** Represents an item */
ITEM("item"),
- /** Represents an trigger item */
+ /** Represents a trigger item */
TRIGGER("trigger");
/** The text value of the enum */
*/
@NonNullByDefault
public class NeeoDeviceType {
- /** Represents an device that should be excluded */
+ /** Represents a device that should be excluded */
public static final NeeoDeviceType EXCLUDE = new NeeoDeviceType("");
/** Represents an accessory device (spelled the way NEEO spells it) */
public static final NeeoDeviceType ACCESSOIRE = new NeeoDeviceType("ACCESSOIRE");
- /** Represents an light device */
+ /** Represents a light device */
static final NeeoDeviceType LIGHT = new NeeoDeviceType("LIGHT");
/** Represents the propery way to spell accessory! */