From 6c1373f7c208b3b727e5c8fcf73d4fee50b823ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD=20=D0=9F=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=D1=83=D0=B7=D0=BE=D0=B2?= Date: Fri, 2 Dec 2022 14:07:31 +0200 Subject: [PATCH] Typos a/an (#13819) --- .../README.md | 2 +- .../discovery/AirQualityDiscoveryService.java | 2 +- .../README.md | 2 +- .../internal/config/AutelisConfiguration.java | 2 +- .../internal/handler/AutelisHandler.java | 6 ++-- .../resources/OH-INF/i18n/autelis.properties | 14 ++++---- .../src/main/resources/OH-INF/thing/jandy.xml | 8 ++--- .../main/resources/OH-INF/thing/pentair.xml | 4 +-- .../src/main/resources/OH-INF/thing/am43.xml | 2 +- .../handler/BlueGigaBridgeHandler.java | 2 +- .../BlueGigaIndicateConfirmCommand.java | 2 +- .../BlueGigaProcedureCompletedEvent.java | 2 +- .../BlueGigaUserWriteResponseCommand.java | 2 +- .../BlueGigaUserWriteResponseResponse.java | 2 +- .../connection/BlueGigaGetStatusCommand.java | 2 +- .../connection/BlueGigaGetStatusResponse.java | 2 +- .../gap/BlueGigaConnectDirectCommand.java | 2 +- .../gap/BlueGigaConnectDirectResponse.java | 2 +- .../internal/CommandExecutor.java | 2 +- .../internal/PresetContainer.java | 2 +- .../internal/datatypes/ComfoAirDataType.java | 4 +-- .../README.md | 2 +- bundles/org.openhab.binding.deconz/README.md | 2 +- .../resources/OH-INF/i18n/deconz.properties | 2 +- .../OH-INF/thing/sensor-thing-types.xml | 2 +- .../ZoneTemperatureControlHandler.java | 2 +- .../internal/lib/event/EventListener.java | 2 +- .../internal/lib/event/types/EventItem.java | 2 +- .../manager/impl/DeviceStatusManagerImpl.java | 2 +- .../providers/DsChannelTypeProvider.java | 2 +- .../dscalarm/internal/DSCAlarmCode.java | 4 +-- .../device/cosem/CosemObjectType.java | 2 +- bundles/org.openhab.binding.feican/README.md | 2 +- .../test/FSInternetRadioHandlerJavaTest.java | 2 +- .../internal/handler/GardenaThingHandler.java | 2 +- .../HaasSohnpelletstoveJsonDataDTO.java | 2 +- .../handler/HomeConnectOvenHandler.java | 2 +- .../communicator/parser/EventParser.java | 2 +- .../server/BinRpcNetworkService.java | 2 +- .../communicator/server/RpcEventListener.java | 2 +- .../virtual/VirtualDatapointHandler.java | 2 +- .../internal/converter/ConverterFactory.java | 2 +- .../internal/converter/TypeConverter.java | 4 +-- .../converter/type/AbstractTypeConverter.java | 4 +-- .../converter/type/DecimalTypeConverter.java | 2 +- .../converter/type/OnOffTypeConverter.java | 2 +- .../type/OpenClosedTypeConverter.java | 2 +- .../converter/type/PercentTypeConverter.java | 2 +- .../converter/type/StringTypeConverter.java | 2 +- .../homematic/internal/misc/MiscUtils.java | 2 +- .../homematic/internal/model/HmDatapoint.java | 4 +-- .../org.openhab.binding.hydrawise/README.md | 14 ++++---- .../api/HydrawiseCommandException.java | 2 +- .../device/DeviceFeatureListener.java | 2 +- .../internal/handler/KM200DataHandler.java | 2 +- .../handler/KM200ErrorServiceHandler.java | 2 +- .../internal/handler/KM200ServiceHandler.java | 2 +- .../knx/internal/dpt/KNXCoreTypeMapper.java | 2 +- .../lutron/internal/config/BlindConfig.java | 2 +- .../internal/config/LeapBridgeConfig.java | 2 +- .../magentatv/internal/MagentaTVGsonDTO.java | 2 +- .../mqtt/generic/values/ColorValue.java | 2 +- .../internal/handler/MyQAccountHandler.java | 2 +- .../resources/OH-INF/thing/sdm-channels.xml | 2 +- .../nobohub/internal/model/Component.java | 2 +- .../handler/NetworkOceanicThingHandler.java | 2 +- .../handler/SerialOceanicThingHandler.java | 2 +- .../discovery/BusGatewayUpnpDiscovery.java | 2 +- .../handler/OpenWebNetLightingHandler.java | 4 +-- .../handler/OpenWebNetThingHandler.java | 2 +- .../OH-INF/i18n/openwebnet.properties | 32 +++++++++---------- .../resources/OH-INF/thing/BusAutomation.xml | 2 +- .../main/resources/OH-INF/thing/BusAux.xml | 2 +- .../OH-INF/thing/BusBasicScenarioControl.xml | 2 +- .../thing/BusCENPlusScenarioControl.xml | 2 +- .../OH-INF/thing/BusCENScenarioControl.xml | 2 +- .../main/resources/OH-INF/thing/BusDimmer.xml | 2 +- .../OH-INF/thing/BusDryContactIR.xml | 2 +- .../resources/OH-INF/thing/BusEnergyMeter.xml | 2 +- .../resources/OH-INF/thing/BusOnOffSwitch.xml | 2 +- .../OH-INF/thing/BusThermoCentralUnit.xml | 2 +- .../OH-INF/thing/BusThermoSensor.xml | 2 +- .../resources/OH-INF/thing/BusThermoZone.xml | 2 +- .../resources/OH-INF/thing/ZBAutomation.xml | 2 +- .../main/resources/OH-INF/thing/ZBDimmer.xml | 2 +- .../resources/OH-INF/thing/ZBOnOffSwitch.xml | 2 +- .../OH-INF/thing/ZBOnOffSwitch2Units.xml | 2 +- .../internal/handler/IpAvrHandler.java | 2 +- .../internal/handler/SerialAvrHandler.java | 2 +- .../internal/PS4PacketHandler.java | 6 ++-- .../internal/rio/zone/RioZoneProtocol.java | 2 +- .../internal/handler/ShellyRelayHandler.java | 8 ++--- .../smartmeter/connectors/ConnectorBase.java | 2 +- .../internal/sml/SmlValueExtractor.java | 2 +- .../internal/domain/model/Location.java | 2 +- .../communication/SonnenJsonDataDTO.java | 2 +- bundles/org.openhab.binding.tacmi/README.md | 4 +-- .../velux/internal/VeluxBindingConfig.java | 2 +- .../velux/internal/VeluxRSBindingConfig.java | 2 +- .../org.openhab.binding.webthing/README.md | 2 +- .../webthing/internal/ChannelHandler.java | 2 +- .../internal/handler/ZWayBridgeHandler.java | 2 +- .../handler/ZWayZAutomationDeviceHandler.java | 2 +- .../handler/ZWayZWaveDeviceHandler.java | 2 +- .../accessories/HomekitAccessoryFactory.java | 4 +-- .../HomekitCharacteristicFactory.java | 2 +- .../model/device/MultiSwitchDevice.java | 2 +- .../io/neeo/internal/models/ItemSubType.java | 2 +- .../influxdb/InfluxDBPersistenceService.java | 2 +- .../internal/FilterCriteriaQueryCreator.java | 2 +- .../org.openhab.persistence.rrd4j/README.md | 2 +- .../profiles/ExecTransformationProfile.java | 2 +- .../README.md | 2 +- .../JavaScriptTransformationProfile.java | 2 +- .../profiles/JinjaTransformationProfile.java | 2 +- .../JSonPathTransformationProfile.java | 2 +- .../profiles/MapTransformationProfile.java | 2 +- .../profiles/RegexTransformationProfile.java | 2 +- .../profiles/ScaleTransformationProfile.java | 2 +- .../profiles/XPathTransformationProfile.java | 2 +- .../profiles/XSLTTransformationProfile.java | 2 +- 121 files changed, 167 insertions(+), 167 deletions(-) diff --git a/bundles/org.openhab.automation.jsscripting/README.md b/bundles/org.openhab.automation.jsscripting/README.md index 03ef76364..12c46e083 100644 --- a/bundles/org.openhab.automation.jsscripting/README.md +++ b/bundles/org.openhab.automation.jsscripting/README.md @@ -299,7 +299,7 @@ Calling `getItem(...)` returns an `Item` object with the following properties: ```javascript const item = items.getItem("KitchenLight"); -//send a ON command +//send an ON command item.sendCommand("ON"); //Post an update item.postUpdate("OFF"); diff --git a/bundles/org.openhab.binding.airquality/src/main/java/org/openhab/binding/airquality/internal/discovery/AirQualityDiscoveryService.java b/bundles/org.openhab.binding.airquality/src/main/java/org/openhab/binding/airquality/internal/discovery/AirQualityDiscoveryService.java index dd65f2120..868ef7d4e 100644 --- a/bundles/org.openhab.binding.airquality/src/main/java/org/openhab/binding/airquality/internal/discovery/AirQualityDiscoveryService.java +++ b/bundles/org.openhab.binding.airquality/src/main/java/org/openhab/binding/airquality/internal/discovery/AirQualityDiscoveryService.java @@ -51,7 +51,7 @@ public class AirQualityDiscoveryService extends AbstractDiscoveryService impleme private @Nullable AirQualityBridgeHandler bridgeHandler; /** - * Creates a AirQualityDiscoveryService with enabled autostart. + * Creates an AirQualityDiscoveryService with enabled autostart. */ public AirQualityDiscoveryService() { super(SUPPORTED_THING_TYPES_UIDS, DISCOVER_TIMEOUT_SECONDS, false); diff --git a/bundles/org.openhab.binding.amazonechocontrol/README.md b/bundles/org.openhab.binding.amazonechocontrol/README.md index 1faaf5ede..b817a0250 100644 --- a/bundles/org.openhab.binding.amazonechocontrol/README.md +++ b/bundles/org.openhab.binding.amazonechocontrol/README.md @@ -528,7 +528,7 @@ sitemap smarthome label="Smart Home Devices" The url /amazonechocontrol//PROXY/ provides a proxy server with an authenticated connection to the amazon alexa server. This can be used to call alexa api from rules. -E.g. to read out the history call from an installation on openhab:8080 with a account named account1: +E.g. to read out the history call from an installation on openhab:8080 with an account named account1: http://openhab:8080/amazonechocontrol/account1/PROXY/api/activities?startTime=&size=50&offset=1 diff --git a/bundles/org.openhab.binding.autelis/src/main/java/org/openhab/binding/autelis/internal/config/AutelisConfiguration.java b/bundles/org.openhab.binding.autelis/src/main/java/org/openhab/binding/autelis/internal/config/AutelisConfiguration.java index 9195ee8d1..29e265dd0 100644 --- a/bundles/org.openhab.binding.autelis/src/main/java/org/openhab/binding/autelis/internal/config/AutelisConfiguration.java +++ b/bundles/org.openhab.binding.autelis/src/main/java/org/openhab/binding/autelis/internal/config/AutelisConfiguration.java @@ -13,7 +13,7 @@ package org.openhab.binding.autelis.internal.config; /** - * Configuration properties for connecting to a Autelis Controller + * Configuration properties for connecting to an Autelis Controller * * @author Dan Cunningham - Initial contribution * diff --git a/bundles/org.openhab.binding.autelis/src/main/java/org/openhab/binding/autelis/internal/handler/AutelisHandler.java b/bundles/org.openhab.binding.autelis/src/main/java/org/openhab/binding/autelis/internal/handler/AutelisHandler.java index 2b9f55305..ed0cd3353 100644 --- a/bundles/org.openhab.binding.autelis/src/main/java/org/openhab/binding/autelis/internal/handler/AutelisHandler.java +++ b/bundles/org.openhab.binding.autelis/src/main/java/org/openhab/binding/autelis/internal/handler/AutelisHandler.java @@ -76,7 +76,7 @@ public class AutelisHandler extends BaseThingHandler { private final Logger logger = LoggerFactory.getLogger(AutelisHandler.class); /** - * Default timeout for http connections to a Autelis controller + * Default timeout for http connections to an Autelis controller */ static final int TIMEOUT_SECONDS = 5; @@ -224,7 +224,7 @@ public class AutelisHandler extends BaseThingHandler { } else if (command instanceof DecimalType) { value = ((DecimalType) command).intValue(); if (!isJandy() && value >= 3) { - // this is a autelis dim type. not sure what 2 does + // this is an autelis dim type. not sure what 2 does cmd = "dim"; } } else { @@ -468,7 +468,7 @@ public class AutelisHandler extends BaseThingHandler { } /** - * Simple logic to perform a authenticated GET request + * Simple logic to perform an authenticated GET request * * @param url * @param timeout diff --git a/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/i18n/autelis.properties b/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/i18n/autelis.properties index 8847540f2..6e916e6ff 100644 --- a/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/i18n/autelis.properties +++ b/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/i18n/autelis.properties @@ -1,12 +1,12 @@ # binding binding.autelis.name = Autelis Pool Control Binding -binding.autelis.description = This is the binding for a Autelis pool controller. +binding.autelis.description = This is the binding for an Autelis pool controller. # thing types thing-type.autelis.jandy.label = Jandy Pool Controller -thing-type.autelis.jandy.description = A Jandy pool control thing represents a Autelis pool controller for Jandy systems +thing-type.autelis.jandy.description = A Jandy pool control thing represents an Autelis pool controller for Jandy systems thing-type.autelis.jandy.channel.equipment-aux1.label = Auxiliary 1 thing-type.autelis.jandy.channel.equipment-aux1.description = The current state of auxiliary 1 thing-type.autelis.jandy.channel.equipment-aux2.label = Auxiliary 2 @@ -163,23 +163,23 @@ thing-type.autelis.pentair.channel.temp-spaht.description = The current spa/hi-t thing-type.config.autelis.jandy.host.label = Host or IP thing-type.config.autelis.jandy.host.description = The host name or IP address of the Autelis Controller. thing-type.config.autelis.jandy.password.label = Password -thing-type.config.autelis.jandy.password.description = The password to use when connecting to a Autelis Controller. +thing-type.config.autelis.jandy.password.description = The password to use when connecting to an Autelis Controller. thing-type.config.autelis.jandy.port.label = Port thing-type.config.autelis.jandy.port.description = The port the Autelis Controller is listening on. thing-type.config.autelis.jandy.refresh.label = Refresh Interval thing-type.config.autelis.jandy.refresh.description = Specifies the refresh interval in seconds thing-type.config.autelis.jandy.user.label = User Name -thing-type.config.autelis.jandy.user.description = The user name to use when connecting to a Autelis Controller. +thing-type.config.autelis.jandy.user.description = The user name to use when connecting to an Autelis Controller. thing-type.config.autelis.pentair.host.label = Host or IP thing-type.config.autelis.pentair.host.description = The host name or IP address of the Autelis Controller. thing-type.config.autelis.pentair.password.label = Password -thing-type.config.autelis.pentair.password.description = The password to use when connecting to a Autelis Controller. +thing-type.config.autelis.pentair.password.description = The password to use when connecting to an Autelis Controller. thing-type.config.autelis.pentair.port.label = Port thing-type.config.autelis.pentair.port.description = The port the Autelis Controller is listening on. thing-type.config.autelis.pentair.refresh.label = Refresh Interval thing-type.config.autelis.pentair.refresh.description = Specifies the refresh interval in seconds thing-type.config.autelis.pentair.user.label = User Name -thing-type.config.autelis.pentair.user.description = The user name to use when connecting to a Autelis Controller. +thing-type.config.autelis.pentair.user.description = The user name to use when connecting to an Autelis Controller. # channel types @@ -241,7 +241,7 @@ channel-type.autelis.equipment-ht.state.option.0 = Off channel-type.autelis.equipment-ht.state.option.1 = Enabled channel-type.autelis.equipment-ht.state.option.2 = On channel-type.autelis.equipment-switch.label = Equipment Switch -channel-type.autelis.equipment-switch.description = The current state of a equipment switch +channel-type.autelis.equipment-switch.description = The current state of an equipment switch channel-type.autelis.lightscmd.label = Lighting Cmd channel-type.autelis.lightscmd.description = Send A lighting command channel-type.autelis.lightscmd.state.option.alloff = All Off diff --git a/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/thing/jandy.xml b/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/thing/jandy.xml index dd220c412..64ef2123e 100644 --- a/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/thing/jandy.xml +++ b/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/thing/jandy.xml @@ -5,7 +5,7 @@ xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd"> - A Jandy pool control thing represents a Autelis pool controller for Jandy systems + A Jandy pool control thing represents an Autelis pool controller for Jandy systems @@ -209,11 +209,11 @@ - The user name to use when connecting to a Autelis Controller. + The user name to use when connecting to an Autelis Controller. - The password to use when connecting to a Autelis Controller. + The password to use when connecting to an Autelis Controller. @@ -296,7 +296,7 @@ Switch - The current state of a equipment switch + The current state of an equipment switch Number diff --git a/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/thing/pentair.xml b/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/thing/pentair.xml index 8dcf05818..76720197c 100644 --- a/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/thing/pentair.xml +++ b/bundles/org.openhab.binding.autelis/src/main/resources/OH-INF/thing/pentair.xml @@ -189,11 +189,11 @@ - The user name to use when connecting to a Autelis Controller. + The user name to use when connecting to an Autelis Controller. - The password to use when connecting to a Autelis Controller. + The password to use when connecting to an Autelis Controller. diff --git a/bundles/org.openhab.binding.bluetooth.am43/src/main/resources/OH-INF/thing/am43.xml b/bundles/org.openhab.binding.bluetooth.am43/src/main/resources/OH-INF/thing/am43.xml index aacbc8c18..bcd483142 100644 --- a/bundles/org.openhab.binding.bluetooth.am43/src/main/resources/OH-INF/thing/am43.xml +++ b/bundles/org.openhab.binding.bluetooth.am43/src/main/resources/OH-INF/thing/am43.xml @@ -12,7 +12,7 @@ - A AM43 Blind Drive Motor + An AM43 Blind Drive Motor Blinds diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/handler/BlueGigaBridgeHandler.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/handler/BlueGigaBridgeHandler.java index 6e41df8cc..b04cccd71 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/handler/BlueGigaBridgeHandler.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/handler/BlueGigaBridgeHandler.java @@ -436,7 +436,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandlerindicateConfirm. *

- * This command can be used to send a acknowledge a received indication from a remote device. + * This command can be used to send an acknowledge a received indication from a remote device. * This function allows the application to manually confirm the indicated values instead of * the smart stack Bluetooth automatically doing it. The benefit of this is extra reliability * since the application can for example store the received value on the flash memory before diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributeclient/BlueGigaProcedureCompletedEvent.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributeclient/BlueGigaProcedureCompletedEvent.java index 1335abae6..3068cfa4a 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributeclient/BlueGigaProcedureCompletedEvent.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributeclient/BlueGigaProcedureCompletedEvent.java @@ -19,7 +19,7 @@ import org.openhab.binding.bluetooth.bluegiga.internal.enumeration.BgApiResponse /** * Class to implement the BlueGiga command procedureCompletedEvent. *

- * This event is produced at the GATT client when an attribute protocol event is completed a and + * This event is produced at the GATT client when an attribute protocol event is completed and a * new operation can be issued *

* This class provides methods for processing BlueGiga API commands. diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributedb/BlueGigaUserWriteResponseCommand.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributedb/BlueGigaUserWriteResponseCommand.java index 67f4691ef..142b9b248 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributedb/BlueGigaUserWriteResponseCommand.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributedb/BlueGigaUserWriteResponseCommand.java @@ -21,7 +21,7 @@ import org.openhab.binding.bluetooth.bluegiga.internal.BlueGigaDeviceCommand; * This command is used by the GATT server to acknowledge to the remote device that the * attribute's value was written. This feature again allows the user application to * acknowledged the attribute write operations instead of the Smart stack doing it - * automatically. Bluetooth The command should be used when a event is received where the + * automatically. Bluetooth The command should be used when an event is received where the * reason why value has changed Value corresponds to * attributes_attribute_change_reason_write_request_user. This response must be sent * within 30 seconds or otherwise a timeout will occur. diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributedb/BlueGigaUserWriteResponseResponse.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributedb/BlueGigaUserWriteResponseResponse.java index fbd746613..91c9b04d5 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributedb/BlueGigaUserWriteResponseResponse.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/attributedb/BlueGigaUserWriteResponseResponse.java @@ -21,7 +21,7 @@ import org.openhab.binding.bluetooth.bluegiga.internal.BlueGigaResponse; * This command is used by the GATT server to acknowledge to the remote device that the * attribute's value was written. This feature again allows the user application to * acknowledged the attribute write operations instead of the Smart stack doing it - * automatically. Bluetooth The command should be used when a event is received where the + * automatically. Bluetooth The command should be used when an event is received where the * reason why value has changed Value corresponds to * attributes_attribute_change_reason_write_request_user. This response must be sent * within 30 seconds or otherwise a timeout will occur. diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/connection/BlueGigaGetStatusCommand.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/connection/BlueGigaGetStatusCommand.java index be8e4465d..9d68d3227 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/connection/BlueGigaGetStatusCommand.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/connection/BlueGigaGetStatusCommand.java @@ -18,7 +18,7 @@ import org.openhab.binding.bluetooth.bluegiga.internal.BlueGigaDeviceCommand; /** * Class to implement the BlueGiga command getStatus. *

- * This command returns the status of the given connection. Status is returned in a event. + * This command returns the status of the given connection. Status is returned in an event. *

* This class provides methods for processing BlueGiga API commands. *

diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/connection/BlueGigaGetStatusResponse.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/connection/BlueGigaGetStatusResponse.java index 98d3591e2..1a4edf814 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/connection/BlueGigaGetStatusResponse.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/connection/BlueGigaGetStatusResponse.java @@ -18,7 +18,7 @@ import org.openhab.binding.bluetooth.bluegiga.internal.BlueGigaDeviceResponse; /** * Class to implement the BlueGiga command getStatus. *

- * This command returns the status of the given connection. Status is returned in a event. + * This command returns the status of the given connection. Status is returned in an event. *

* This class provides methods for processing BlueGiga API commands. *

diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/gap/BlueGigaConnectDirectCommand.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/gap/BlueGigaConnectDirectCommand.java index d8880ab9f..f55f23944 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/gap/BlueGigaConnectDirectCommand.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/gap/BlueGigaConnectDirectCommand.java @@ -24,7 +24,7 @@ import org.openhab.binding.bluetooth.bluegiga.internal.enumeration.BluetoothAddr * connectable advertisement packets Bluetooth from the remote device which matches the * Bluetooth address gives as a parameter. Upon receiving the advertisement packet, the * module will send a connection request packet to the target device to imitate a Bluetooth - * connection. A successful connection will bi indicated by a event. Status If the device is + * connection. A successful connection will be indicated by an event. Status If the device is * configured to support more than one connection, the smallest connection interval which is * divisible by maximum_connections * 2.5ms will be selected. Thus, it is important to provide * minimum and maximum connection intervals so that such a connection interval is available diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/gap/BlueGigaConnectDirectResponse.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/gap/BlueGigaConnectDirectResponse.java index 76f1a9e1e..3ce8f7ef2 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/gap/BlueGigaConnectDirectResponse.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/command/gap/BlueGigaConnectDirectResponse.java @@ -24,7 +24,7 @@ import org.openhab.binding.bluetooth.bluegiga.internal.enumeration.BgApiResponse * connectable advertisement packets Bluetooth from the remote device which matches the * Bluetooth address gives as a parameter. Upon receiving the advertisement packet, the * module will send a connection request packet to the target device to imitate a Bluetooth - * connection. A successful connection will bi indicated by a event. Status If the device is + * connection. A successful connection will be indicated by an event. Status If the device is * configured to support more than one connection, the smallest connection interval which is * divisible by maximum_connections * 2.5ms will be selected. Thus, it is important to provide * minimum and maximum connection intervals so that such a connection interval is available diff --git a/bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/CommandExecutor.java b/bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/CommandExecutor.java index 28217d370..83544406f 100644 --- a/bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/CommandExecutor.java +++ b/bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/CommandExecutor.java @@ -83,7 +83,7 @@ public class CommandExecutor implements AvailableSources { * Adds a ContentItem to the PresetContainer * * @param id the id the ContentItem should be reached - * @param contentItem the contentItem that should be saved as PRESET. Note that a eventually set presetID of the + * @param contentItem the contentItem that should be saved as PRESET. Note that an eventually set presetID of the * ContentItem will be overwritten with id */ public void addContentItemToPresetContainer(int id, ContentItem contentItem) { diff --git a/bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/PresetContainer.java b/bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/PresetContainer.java index 9c6250e6e..8d7946d9f 100644 --- a/bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/PresetContainer.java +++ b/bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/PresetContainer.java @@ -60,7 +60,7 @@ public class PresetContainer { } /** - * Adds a ContentItem as Preset, with presetID. Note that a eventually existing id in preset will be overwritten by + * Adds a ContentItem as Preset, with presetID. Note that an eventually existing id in preset will be overwritten by * presetID * * @param presetID diff --git a/bundles/org.openhab.binding.comfoair/src/main/java/org/openhab/binding/comfoair/internal/datatypes/ComfoAirDataType.java b/bundles/org.openhab.binding.comfoair/src/main/java/org/openhab/binding/comfoair/internal/datatypes/ComfoAirDataType.java index 1dd7b08c6..7a4d1391b 100644 --- a/bundles/org.openhab.binding.comfoair/src/main/java/org/openhab/binding/comfoair/internal/datatypes/ComfoAirDataType.java +++ b/bundles/org.openhab.binding.comfoair/src/main/java/org/openhab/binding/comfoair/internal/datatypes/ComfoAirDataType.java @@ -27,7 +27,7 @@ import org.openhab.core.types.State; @NonNullByDefault public interface ComfoAirDataType { /** - * Generate a openHAB State object based on response data. + * Generate an openHAB State object based on response data. * * @param response * @param commandType @@ -36,7 +36,7 @@ public interface ComfoAirDataType { State convertToState(int[] response, ComfoAirCommandType commandType); /** - * Generate byte array based on a openHAB State. + * Generate byte array based on an openHAB State. * * @param value * @param commandType diff --git a/bundles/org.openhab.binding.coolmasternet/README.md b/bundles/org.openhab.binding.coolmasternet/README.md index 4c853b673..3dd0898c2 100644 --- a/bundles/org.openhab.binding.coolmasternet/README.md +++ b/bundles/org.openhab.binding.coolmasternet/README.md @@ -8,7 +8,7 @@ The CoolMasterNet protocol does not support automatic discovery. ## Thing Configuration -- `controller` is a openHAB "bridge", and represents a single CoolMasterNet device. A single controller supports one or more HVAC units. +- `controller` is an openHAB "bridge", and represents a single CoolMasterNet device. A single controller supports one or more HVAC units. - `hvac` is an HVAC device connected to a controller. Each `hvac` thing is identified by a CoolMasterNet UID (refer to CoolMasterNet controller documentation). Example demo.things configuration for two HVAC devices connected to a CoolMasterNet device found at IP 192.168.0.100: diff --git a/bundles/org.openhab.binding.deconz/README.md b/bundles/org.openhab.binding.deconz/README.md index 86bef7780..0619a08b3 100644 --- a/bundles/org.openhab.binding.deconz/README.md +++ b/bundles/org.openhab.binding.deconz/README.md @@ -167,7 +167,7 @@ Other devices support | Channel Type ID | Item Type | Access Mode | Description | Thing types | |-------------------|--------------------------|:-----------:|---------------------------------------|-------------------------------------------------| | brightness | Dimmer | R/W | Brightness of the light | `dimmablelight`, `colortemperaturelight` | -| switch | Switch | R/W | State of a ON/OFF device | `onofflight` | +| 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_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` | diff --git a/bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/i18n/deconz.properties b/bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/i18n/deconz.properties index b20e6691b..57cbc8221 100644 --- a/bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/i18n/deconz.properties +++ b/bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/i18n/deconz.properties @@ -39,7 +39,7 @@ thing-type.deconz.lightsensor.description = A light sensor thing-type.deconz.onofflight.label = On/Off Light thing-type.deconz.onofflight.description = A light that can be turned on or off. thing-type.deconz.openclosesensor.label = Open/Close Sensor -thing-type.deconz.openclosesensor.description = A open/close sensor +thing-type.deconz.openclosesensor.description = An open/close sensor thing-type.deconz.powersensor.label = Power Sensor thing-type.deconz.powersensor.description = A power sensor thing-type.deconz.presencesensor.label = Presence Sensor diff --git a/bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml b/bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml index b0e77a96c..07b59216d 100644 --- a/bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml +++ b/bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml @@ -336,7 +336,7 @@ - A open/close sensor + An open/close sensor diff --git a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/handler/ZoneTemperatureControlHandler.java b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/handler/ZoneTemperatureControlHandler.java index a52f5003f..b3ac6377a 100644 --- a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/handler/ZoneTemperatureControlHandler.java +++ b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/handler/ZoneTemperatureControlHandler.java @@ -124,7 +124,7 @@ public class ZoneTemperatureControlHandler extends BaseThingHandler implements T * * @param config the {@link Configuration} to be checked * @param bridge the responsible {@link BridgeHandler} - * @return zoneID the existing dS zoneID or a error constant + * @return zoneID the existing dS zoneID or an error constant */ public static int getZoneID(Configuration config, BridgeHandler bridge) { if (config == null || config.get(DigitalSTROMBindingConstants.ZONE_ID) == null) { diff --git a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/EventListener.java b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/EventListener.java index f3575b89e..f8dce58c4 100644 --- a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/EventListener.java +++ b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/EventListener.java @@ -258,7 +258,7 @@ public class EventListener { * Removes a subscribed event and unsubscibe it, if it is not needed by other {@link EventHandler}'s. * * @param unsubscribeEvent event name to unsubscibe - * @param eventHandlerID EventHandler-ID of the EventHandler that unsubscibe a event + * @param eventHandlerID EventHandler-ID of the EventHandler that unsubscibe an event */ public void removeSubscribe(String unsubscribeEvent, String eventHandlerID) { if (subscribedEvents != null && !subscribedEvents.contains(unsubscribeEvent)) { diff --git a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/types/EventItem.java b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/types/EventItem.java index fce06ee05..717fc8d67 100644 --- a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/types/EventItem.java +++ b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/types/EventItem.java @@ -17,7 +17,7 @@ import java.util.Map; import org.openhab.binding.digitalstrom.internal.lib.event.constants.EventResponseEnum; /** - * The {@link EventItem} represents a event item of an digitalSTROM-Event. + * The {@link EventItem} represents an event item of an digitalSTROM-Event. * * @author Alexander Betker * @author Michael Ochel - add getSource() diff --git a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/impl/DeviceStatusManagerImpl.java b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/impl/DeviceStatusManagerImpl.java index d9b64c9fa..264e6efd3 100644 --- a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/impl/DeviceStatusManagerImpl.java +++ b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/impl/DeviceStatusManagerImpl.java @@ -340,7 +340,7 @@ public class DeviceStatusManagerImpl implements DeviceStatusManager { } } if (deviceDiscovery != null) { - // only informs discovery, if the device is a output or a sensor device + // only informs discovery, if the device is an output or a sensor device deviceDiscovery.onDeviceAdded(currentDevice); logger.debug("inform DeviceStatusListener: {} about added device with dSID {}", DeviceStatusListener.DEVICE_DISCOVERY, currentDevice.getDSID().getValue()); diff --git a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/providers/DsChannelTypeProvider.java b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/providers/DsChannelTypeProvider.java index c7d01cb80..7b9d7ebde 100644 --- a/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/providers/DsChannelTypeProvider.java +++ b/bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/providers/DsChannelTypeProvider.java @@ -196,7 +196,7 @@ public class DsChannelTypeProvider extends BaseDsI18n implements ChannelTypeProv private static final List SUPPORTED_OUTPUT_CHANNEL_TYPES = new ArrayList<>(); /** - * Returns true, if the given channel type id is a output channel. + * Returns true, if the given channel type id is an output channel. * * @param channelTypeID to check * @return true, if channel type id is output channel diff --git a/bundles/org.openhab.binding.dscalarm/src/main/java/org/openhab/binding/dscalarm/internal/DSCAlarmCode.java b/bundles/org.openhab.binding.dscalarm/src/main/java/org/openhab/binding/dscalarm/internal/DSCAlarmCode.java index 50bda0c1f..4d1904d78 100644 --- a/bundles/org.openhab.binding.dscalarm/src/main/java/org/openhab/binding/dscalarm/internal/DSCAlarmCode.java +++ b/bundles/org.openhab.binding.dscalarm/src/main/java/org/openhab/binding/dscalarm/internal/DSCAlarmCode.java @@ -137,10 +137,10 @@ public enum DSCAlarmCode { SystemBellTrouble("806", "System Bell Trouble", "806: An open circuit has been detected across the bell terminals."), SystemBellTroubleRestore("807", "System Bell Trouble Restore", "807: The bell trouble has been restored."), - TLMLine1Trouble("810", "TML Line 1 Trouble", "810: The phone line is a open or shorted condition."), + TLMLine1Trouble("810", "TML Line 1 Trouble", "810: The phone line is an open or shorted condition."), TLMLine1TroubleRestore("811", "TML Line 1 Trouble Restore", "811: The phone line trouble condition has been restored."), - TLMLine2Trouble("812", "TML Line 2 Trouble", "812: The phone line is a open or shorted condition."), + TLMLine2Trouble("812", "TML Line 2 Trouble", "812: The phone line is an open or shorted condition."), TLMLine2TroubleRestore("813", "TML Line 2 Trouble Restore", "813: The phone line trouble condition has been restored."), FTCTrouble("814", "FTC Trouble", diff --git a/bundles/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/device/cosem/CosemObjectType.java b/bundles/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/device/cosem/CosemObjectType.java index ce754e2eb..6793a5f3e 100644 --- a/bundles/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/device/cosem/CosemObjectType.java +++ b/bundles/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/device/cosem/CosemObjectType.java @@ -110,7 +110,7 @@ public enum CosemObjectType { new CosemString("val1"), // Specification is not clear what this value is new CosemDecimal("val2"), // Specification is not clear what this value is new CosemDecimal("val3"), // Specification is not clear what this value is - new CosemString("obisId"), // String containing a OBIS Identifier + new CosemString("obisId"), // String containing an OBIS Identifier new CosemString("unit"), // String containing the type (m3) CosemDecimal.INSTANCE), GMETER_VALVE_POSITION_V2_1(new OBISIdentifier(7, 96, 3, 10), CosemDecimal.INSTANCE), diff --git a/bundles/org.openhab.binding.feican/README.md b/bundles/org.openhab.binding.feican/README.md index a46ae237c..f46db905f 100644 --- a/bundles/org.openhab.binding.feican/README.md +++ b/bundles/org.openhab.binding.feican/README.md @@ -31,7 +31,7 @@ It is possible to connect to devices in a different network, but these must be a ## Thing Configuration -The thing has a one configuration parameter: +The thing has one configuration parameter: | Parameter | Description | |-----------|------------------------------------------------------------------------- | diff --git a/bundles/org.openhab.binding.fsinternetradio/src/test/java/org/openhab/binding/fsinternetradio/test/FSInternetRadioHandlerJavaTest.java b/bundles/org.openhab.binding.fsinternetradio/src/test/java/org/openhab/binding/fsinternetradio/test/FSInternetRadioHandlerJavaTest.java index a37b1e35f..eafda1799 100644 --- a/bundles/org.openhab.binding.fsinternetradio/src/test/java/org/openhab/binding/fsinternetradio/test/FSInternetRadioHandlerJavaTest.java +++ b/bundles/org.openhab.binding.fsinternetradio/src/test/java/org/openhab/binding/fsinternetradio/test/FSInternetRadioHandlerJavaTest.java @@ -255,7 +255,7 @@ public class FSInternetRadioHandlerJavaTest extends JavaTest { /* * Setting the needed boolean variable to false, so we can be sure - * that the XML response won't have a OK_200 status + * that the XML response won't have an OK_200 status */ ChannelUID modeChannelUID = getChannelUID(radioThing, modeChannelID); Item modeTestItem = initializeItem(modeChannelUID, CHANNEL_MODE, acceptedItemType); diff --git a/bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/handler/GardenaThingHandler.java b/bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/handler/GardenaThingHandler.java index b9661bcd5..cd08a5d98 100644 --- a/bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/handler/GardenaThingHandler.java +++ b/bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/handler/GardenaThingHandler.java @@ -145,7 +145,7 @@ public class GardenaThingHandler extends BaseThingHandler { } /** - * Converts a Gardena property value to a openHAB state. + * Converts a Gardena property value to an openHAB state. */ private @Nullable State convertToState(Device device, ChannelUID channelUID) throws GardenaException { if (isLocalDurationCommand(channelUID)) { diff --git a/bundles/org.openhab.binding.haassohnpelletstove/src/main/java/org/openhab/binding/haassohnpelletstove/internal/HaasSohnpelletstoveJsonDataDTO.java b/bundles/org.openhab.binding.haassohnpelletstove/src/main/java/org/openhab/binding/haassohnpelletstove/internal/HaasSohnpelletstoveJsonDataDTO.java index ab426df2e..387dac773 100644 --- a/bundles/org.openhab.binding.haassohnpelletstove/src/main/java/org/openhab/binding/haassohnpelletstove/internal/HaasSohnpelletstoveJsonDataDTO.java +++ b/bundles/org.openhab.binding.haassohnpelletstove/src/main/java/org/openhab/binding/haassohnpelletstove/internal/HaasSohnpelletstoveJsonDataDTO.java @@ -16,7 +16,7 @@ import com.google.gson.annotations.SerializedName; /** * The {@link HaasSohnpelletstoveJsonDataDTO} is the Java class used to map the JSON - * response to a Oven request. + * response to an Oven request. * * @author Christian Feininger - Initial contribution */ diff --git a/bundles/org.openhab.binding.homeconnect/src/main/java/org/openhab/binding/homeconnect/internal/handler/HomeConnectOvenHandler.java b/bundles/org.openhab.binding.homeconnect/src/main/java/org/openhab/binding/homeconnect/internal/handler/HomeConnectOvenHandler.java index f20c54115..5b8b7d87b 100644 --- a/bundles/org.openhab.binding.homeconnect/src/main/java/org/openhab/binding/homeconnect/internal/handler/HomeConnectOvenHandler.java +++ b/bundles/org.openhab.binding.homeconnect/src/main/java/org/openhab/binding/homeconnect/internal/handler/HomeConnectOvenHandler.java @@ -45,7 +45,7 @@ import org.slf4j.LoggerFactory; /** * The {@link HomeConnectOvenHandler} is responsible for handling commands, which are - * sent to one of the channels of a oven. + * sent to one of the channels of an oven. * * @author Jonas Brüstel - Initial contribution */ diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/EventParser.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/EventParser.java index d42baa7ff..6e2fc4cbb 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/EventParser.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/EventParser.java @@ -20,7 +20,7 @@ import org.openhab.binding.homematic.internal.model.HmDevice; import org.openhab.binding.homematic.internal.model.HmParamsetType; /** - * Parses a event received from a Homematic gateway. + * Parses an event received from a Homematic gateway. * * @author Gerhard Riegler - Initial contribution */ diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/BinRpcNetworkService.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/BinRpcNetworkService.java index 582372794..825a1c7ff 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/BinRpcNetworkService.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/BinRpcNetworkService.java @@ -74,7 +74,7 @@ public class BinRpcNetworkService implements Runnable { } /** - * Listening for events and starts the callbackHandler if a event received. + * Listening for events and starts the callbackHandler if an event received. */ @Override public void run() { diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/RpcEventListener.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/RpcEventListener.java index 18479d00d..0539ac02d 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/RpcEventListener.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/RpcEventListener.java @@ -17,7 +17,7 @@ import java.util.List; import org.openhab.binding.homematic.internal.model.HmDatapointInfo; /** - * Methods called by the RpcServer when a event is received. + * Methods called by the RpcServer when an event is received. * * @author Gerhard Riegler - Initial contribution */ diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/virtual/VirtualDatapointHandler.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/virtual/VirtualDatapointHandler.java index 49dff3f1f..d65eb9592 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/virtual/VirtualDatapointHandler.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/virtual/VirtualDatapointHandler.java @@ -55,7 +55,7 @@ public interface VirtualDatapointHandler { public boolean canHandleEvent(HmDatapoint dp); /** - * Handles a event to extract data required for the virtual datapoint. + * Handles an event to extract data required for the virtual datapoint. */ public void handleEvent(VirtualGateway gateway, HmDatapoint dp); diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/ConverterFactory.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/ConverterFactory.java index b6f88195e..0c8ce6d6c 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/ConverterFactory.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/ConverterFactory.java @@ -34,7 +34,7 @@ public class ConverterFactory { private static Map> converterCache = new HashMap<>(); /** - * Returns the converter for a itemType. + * Returns the converter for an itemType. */ public static TypeConverter createConverter(String itemType) throws ConverterException { Class> converterClass = null; diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/TypeConverter.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/TypeConverter.java index 514324516..9e163972e 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/TypeConverter.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/TypeConverter.java @@ -24,12 +24,12 @@ import org.openhab.core.types.Type; public interface TypeConverter { /** - * Converts a openHAB type to a Homematic value. + * Converts an openHAB type to a Homematic value. */ public Object convertToBinding(Type type, HmDatapoint dp) throws ConverterException; /** - * Converts a Homematic value to a openHAB type. + * Converts a Homematic value to an openHAB type. */ public T convertFromBinding(HmDatapoint dp) throws ConverterException; } diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/AbstractTypeConverter.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/AbstractTypeConverter.java index 190117ad8..30322f14a 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/AbstractTypeConverter.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/AbstractTypeConverter.java @@ -159,7 +159,7 @@ public abstract class AbstractTypeConverter implements TypeConv } /** - * Converts a openHAB command to a Homematic value. + * Converts an openHAB command to a Homematic value. */ protected Object commandToBinding(Command command, HmDatapoint dp) throws ConverterException { throw new ConverterException("Unsupported command " + command.getClass().getSimpleName() + " for " @@ -182,7 +182,7 @@ public abstract class AbstractTypeConverter implements TypeConv protected abstract boolean fromBindingValidation(HmDatapoint dp); /** - * Converts the datapoint value to a openHAB type. + * Converts the datapoint value to an openHAB type. */ protected abstract T fromBinding(HmDatapoint dp) throws ConverterException; diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/DecimalTypeConverter.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/DecimalTypeConverter.java index ef4fcb21b..fa592b081 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/DecimalTypeConverter.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/DecimalTypeConverter.java @@ -20,7 +20,7 @@ import org.openhab.core.library.types.DecimalType; import org.openhab.core.types.Type; /** - * Converts between a Homematic datapoint value and a openHAB DecimalType. + * Converts between a Homematic datapoint value and an openHAB DecimalType. * * @author Gerhard Riegler - Initial contribution */ diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/OnOffTypeConverter.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/OnOffTypeConverter.java index 05e92bdd8..b26021fce 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/OnOffTypeConverter.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/OnOffTypeConverter.java @@ -20,7 +20,7 @@ import org.openhab.core.library.types.OnOffType; import org.openhab.core.types.Type; /** - * Converts between a Homematic datapoint value and a openHAB OnOffType. + * Converts between a Homematic datapoint value and an openHAB OnOffType. * * @author Gerhard Riegler - Initial contribution */ diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/OpenClosedTypeConverter.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/OpenClosedTypeConverter.java index 6220d62d4..9211f9e8c 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/OpenClosedTypeConverter.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/OpenClosedTypeConverter.java @@ -20,7 +20,7 @@ import org.openhab.core.library.types.OpenClosedType; import org.openhab.core.types.Type; /** - * Converts between a Homematic datapoint value and a openHAB OpenClosedType. + * Converts between a Homematic datapoint value and an openHAB OpenClosedType. * * @author Gerhard Riegler - Initial contribution */ diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/PercentTypeConverter.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/PercentTypeConverter.java index 6cbea618b..9f93e9f46 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/PercentTypeConverter.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/PercentTypeConverter.java @@ -26,7 +26,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Converts between a Homematic datapoint value and a openHAB PercentType. + * Converts between a Homematic datapoint value and an openHAB PercentType. * * @author Gerhard Riegler - Initial contribution */ diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/StringTypeConverter.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/StringTypeConverter.java index 3c85de65c..b6be16df1 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/StringTypeConverter.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/type/StringTypeConverter.java @@ -19,7 +19,7 @@ import org.openhab.core.library.types.StringType; import org.openhab.core.types.Type; /** - * Converts between a Homematic datapoint value and a openHAB StringType. + * Converts between a Homematic datapoint value and an openHAB StringType. * * @author Gerhard Riegler - Initial contribution */ diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/misc/MiscUtils.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/misc/MiscUtils.java index 10aab04fa..792585691 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/misc/MiscUtils.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/misc/MiscUtils.java @@ -24,7 +24,7 @@ public class MiscUtils { private static final Logger logger = LoggerFactory.getLogger(MiscUtils.class); /** - * Replaces invalid characters of the text to fit into a openHAB UID. + * Replaces invalid characters of the text to fit into an openHAB UID. */ public static String validateCharacters(String text, String textType, String replaceChar) { if (text == null) { diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/model/HmDatapoint.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/model/HmDatapoint.java index 7c7f73042..156ba65c1 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/model/HmDatapoint.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/model/HmDatapoint.java @@ -132,7 +132,7 @@ public class HmDatapoint implements Cloneable { } /** - * Returns the index of the value in a option list. + * Returns the index of the value in an option list. */ public int getOptionIndex(String option) { if (options != null && option != null) { @@ -147,7 +147,7 @@ public class HmDatapoint implements Cloneable { } /** - * Returns the value of a option list. + * Returns the value of an option list. */ public @Nullable String getOptionValue() { Integer idx = getIntegerValue(); diff --git a/bundles/org.openhab.binding.hydrawise/README.md b/bundles/org.openhab.binding.hydrawise/README.md index 2d9d17e76..5c8cd68ab 100644 --- a/bundles/org.openhab.binding.hydrawise/README.md +++ b/bundles/org.openhab.binding.hydrawise/README.md @@ -57,13 +57,13 @@ Use Cases ### Account Thing -| Configuration Name | type | required | Comments | -|--------------------|---------|----------|--------------------------------------------------------------------------------------------------------------------------| -| userName | String | False | The Hydrawise account user name | -| password | String | False | The Hydrawise account password | -| savePassword | Boolean | False | By default the password will be not be persisted after the first login attempt unless this is true, defaults to false | -| refresh | Integer | False | Defaults to a 60 second polling rate, more frequent polling may cause the service to deny requests | -| refreshToken | Boolean | False | A oAuth refresh token, this will be automatically configured after the first login and updated as the token is refreshed | +| Configuration Name | type | required | Comments | +|--------------------|---------|----------|---------------------------------------------------------------------------------------------------------------------------| +| userName | String | False | The Hydrawise account user name | +| password | String | False | The Hydrawise account password | +| savePassword | Boolean | False | By default the password will be not be persisted after the first login attempt unless this is true, defaults to false | +| refresh | Integer | False | Defaults to a 60 second polling rate, more frequent polling may cause the service to deny requests | +| refreshToken | Boolean | False | An oAuth refresh token, this will be automatically configured after the first login and updated as the token is refreshed | ### Controller Thing diff --git a/bundles/org.openhab.binding.hydrawise/src/main/java/org/openhab/binding/hydrawise/internal/api/HydrawiseCommandException.java b/bundles/org.openhab.binding.hydrawise/src/main/java/org/openhab/binding/hydrawise/internal/api/HydrawiseCommandException.java index cfb740198..45fa952d1 100644 --- a/bundles/org.openhab.binding.hydrawise/src/main/java/org/openhab/binding/hydrawise/internal/api/HydrawiseCommandException.java +++ b/bundles/org.openhab.binding.hydrawise/src/main/java/org/openhab/binding/hydrawise/internal/api/HydrawiseCommandException.java @@ -15,7 +15,7 @@ package org.openhab.binding.hydrawise.internal.api; import org.eclipse.jdt.annotation.NonNullByDefault; /** - * Thrown when command responses return a error message + * Thrown when command responses return an error message * * @author Dan Cunningham - Initial contribution */ diff --git a/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/device/DeviceFeatureListener.java b/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/device/DeviceFeatureListener.java index 531369f33..686318d1e 100644 --- a/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/device/DeviceFeatureListener.java +++ b/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/device/DeviceFeatureListener.java @@ -135,7 +135,7 @@ public class DeviceFeatureListener { /** * Publish the state. In the case of PercentType, if the value is - * 0, send a OnOffType.OFF and if the value is 100, send a OnOffType.ON. + * 0, send an OnOffType.OFF and if the value is 100, send an OnOffType.ON. * That way an openHAB Switch will work properly with a Insteon dimmer, * as long it is used like a switch (On/Off). An openHAB DimmerItem will * internally convert the ON back to 100% and OFF back to 0, so there is diff --git a/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200DataHandler.java b/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200DataHandler.java index dc8c5dc77..9301118f2 100644 --- a/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200DataHandler.java +++ b/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200DataHandler.java @@ -259,7 +259,7 @@ public class KM200DataHandler { } } return null; - case DATA_TYPE_ERROR_LIST: /* Check whether the type is a errorList */ + case DATA_TYPE_ERROR_LIST: /* Check whether the type is an errorList */ KM200ErrorServiceHandler eService = null; logger.trace("state of type errorList: {}", nodeRoot); if (null != parent) { diff --git a/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200ErrorServiceHandler.java b/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200ErrorServiceHandler.java index 32a56e2fe..bb4c93af1 100644 --- a/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200ErrorServiceHandler.java +++ b/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200ErrorServiceHandler.java @@ -28,7 +28,7 @@ import com.google.gson.JsonElement; import com.google.gson.JsonObject; /** - * The KM200ErrorService representing a error service with its all capabilities + * The KM200ErrorService representing an error service with its all capabilities * * @author Markus Eckhardt - Initial contribution */ diff --git a/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200ServiceHandler.java b/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200ServiceHandler.java index c2902968b..79ed74cd9 100644 --- a/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200ServiceHandler.java +++ b/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200ServiceHandler.java @@ -160,7 +160,7 @@ public class KM200ServiceHandler { serviceObject.setJSONData(dataObject); remoteDevice.virtualList.add(serviceObject); break; - case DATA_TYPE_ERROR_LIST: /* Check whether the type is a errorList */ + case DATA_TYPE_ERROR_LIST: /* Check whether the type is an errorList */ logger.trace("initDevice: type errorList: {}", dataObject); KM200ErrorServiceHandler eService = new KM200ErrorServiceHandler(); eService.updateErrors(nodeRoot); diff --git a/bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/dpt/KNXCoreTypeMapper.java b/bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/dpt/KNXCoreTypeMapper.java index 7fd0a353d..1f32068d2 100644 --- a/bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/dpt/KNXCoreTypeMapper.java +++ b/bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/dpt/KNXCoreTypeMapper.java @@ -75,7 +75,7 @@ import tuwien.auto.calimero.dptxlator.TranslatorTypes; * This class provides type mapping between all openHAB core types and KNX data point types. * * Each 'MainType' delivered from calimero, has a default mapping - * for all it's children to a openHAB Typeclass. + * for all it's children to an openHAB Typeclass. * All these 'MainType' mapping's are put into 'dptMainTypeMap'. * * Default 'MainType' mapping's we can override by a specific mapping. diff --git a/bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/config/BlindConfig.java b/bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/config/BlindConfig.java index afe28ac4a..704c88c1d 100644 --- a/bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/config/BlindConfig.java +++ b/bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/config/BlindConfig.java @@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotation.Nullable; /** - * Configuration settings for an {@link org.openhab.binding.lutron.internal.handler.BlindHandler}. + * Configuration settings for a {@link org.openhab.binding.lutron.internal.handler.BlindHandler}. * * @author Bob Adair - Initial contribution */ diff --git a/bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/config/LeapBridgeConfig.java b/bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/config/LeapBridgeConfig.java index 8eb3b5581..c112dd94a 100644 --- a/bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/config/LeapBridgeConfig.java +++ b/bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/config/LeapBridgeConfig.java @@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotation.Nullable; /** - * Configuration settings for an {@link org.openhab.binding.lutron.internal.handler.LeapBridgeHandler}. + * Configuration settings for a {@link org.openhab.binding.lutron.internal.handler.LeapBridgeHandler}. * * @author Bob Adair - Initial contribution */ diff --git a/bundles/org.openhab.binding.magentatv/src/main/java/org/openhab/binding/magentatv/internal/MagentaTVGsonDTO.java b/bundles/org.openhab.binding.magentatv/src/main/java/org/openhab/binding/magentatv/internal/MagentaTVGsonDTO.java index 8cf9bcd13..483d74b2a 100644 --- a/bundles/org.openhab.binding.magentatv/src/main/java/org/openhab/binding/magentatv/internal/MagentaTVGsonDTO.java +++ b/bundles/org.openhab.binding.magentatv/src/main/java/org/openhab/binding/magentatv/internal/MagentaTVGsonDTO.java @@ -128,7 +128,7 @@ public class MagentaTVGsonDTO { } /** - * Deutsche Telekom uses a OAuth-based authentication to access the EPG portal. + * Deutsche Telekom uses an OAuth-based authentication to access the EPG portal. * The binding automates the login incl. OAuth authentication. This class helps mapping the response to a Java * object (using Gson) * diff --git a/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/ColorValue.java b/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/ColorValue.java index 9c6c9db57..25500a0d0 100644 --- a/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/ColorValue.java +++ b/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/ColorValue.java @@ -61,7 +61,7 @@ public class ColorValue extends Value { * @param colorMode The color mode: HSB, RGB or XYY. * @param onValue The ON value string. This will be compared to MQTT messages. * @param offValue The OFF value string. This will be compared to MQTT messages. - * @param onBrightness When receiving a ON command, the brightness percentage is set to this value + * @param onBrightness When receiving an ON command, the brightness percentage is set to this value */ public ColorValue(ColorMode colorMode, @Nullable String onValue, @Nullable String offValue, int onBrightness) { super(CoreItemFactory.COLOR, List.of(OnOffType.class, PercentType.class, StringType.class)); diff --git a/bundles/org.openhab.binding.myq/src/main/java/org/openhab/binding/myq/internal/handler/MyQAccountHandler.java b/bundles/org.openhab.binding.myq/src/main/java/org/openhab/binding/myq/internal/handler/MyQAccountHandler.java index 9f3cdd29a..3ee35d6e5 100644 --- a/bundles/org.openhab.binding.myq/src/main/java/org/openhab/binding/myq/internal/handler/MyQAccountHandler.java +++ b/bundles/org.openhab.binding.myq/src/main/java/org/openhab/binding/myq/internal/handler/MyQAccountHandler.java @@ -556,7 +556,7 @@ public class MyQAccountHandler extends BaseBridgeHandler implements AccessTokenR } /** - * Final step of the login process to get a oAuth access response token + * Final step of the login process to get an oAuth access response token * * @param redirectLocation * @param codeVerifier diff --git a/bundles/org.openhab.binding.nest/src/main/resources/OH-INF/thing/sdm-channels.xml b/bundles/org.openhab.binding.nest/src/main/resources/OH-INF/thing/sdm-channels.xml index 196a7c8f4..55cc7ac99 100644 --- a/bundles/org.openhab.binding.nest/src/main/resources/OH-INF/thing/sdm-channels.xml +++ b/bundles/org.openhab.binding.nest/src/main/resources/OH-INF/thing/sdm-channels.xml @@ -68,7 +68,7 @@ Image - Static image based on a event + Static image based on an event diff --git a/bundles/org.openhab.binding.nobohub/src/main/java/org/openhab/binding/nobohub/internal/model/Component.java b/bundles/org.openhab.binding.nobohub/src/main/java/org/openhab/binding/nobohub/internal/model/Component.java index ea3be8828..c0d0cfd46 100644 --- a/bundles/org.openhab.binding.nobohub/src/main/java/org/openhab/binding/nobohub/internal/model/Component.java +++ b/bundles/org.openhab.binding.nobohub/src/main/java/org/openhab/binding/nobohub/internal/model/Component.java @@ -17,7 +17,7 @@ import java.util.StringJoiner; import org.eclipse.jdt.annotation.NonNullByDefault; /** - * A Component in the Nobø Hub can be a oven, a floor or a switch. + * A Component in the Nobø Hub can be an oven, a floor or a switch. * * @author Jørgen Austvik - Initial contribution * @author Espen Fossen - Initial contribution diff --git a/bundles/org.openhab.binding.oceanic/src/main/java/org/openhab/binding/oceanic/internal/handler/NetworkOceanicThingHandler.java b/bundles/org.openhab.binding.oceanic/src/main/java/org/openhab/binding/oceanic/internal/handler/NetworkOceanicThingHandler.java index 58908ffd2..78cb40ced 100644 --- a/bundles/org.openhab.binding.oceanic/src/main/java/org/openhab/binding/oceanic/internal/handler/NetworkOceanicThingHandler.java +++ b/bundles/org.openhab.binding.oceanic/src/main/java/org/openhab/binding/oceanic/internal/handler/NetworkOceanicThingHandler.java @@ -33,7 +33,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * The {@link NetworkOceanicThingHandler} implements {@link OceanicThingHandler} for a Oceanic water softener that is + * The {@link NetworkOceanicThingHandler} implements {@link OceanicThingHandler} for an Oceanic water softener that is * reached using a socat TCP proxy * * @author Karel Goderis - Initial contribution diff --git a/bundles/org.openhab.binding.oceanic/src/main/java/org/openhab/binding/oceanic/internal/handler/SerialOceanicThingHandler.java b/bundles/org.openhab.binding.oceanic/src/main/java/org/openhab/binding/oceanic/internal/handler/SerialOceanicThingHandler.java index b8316096c..be07c252e 100644 --- a/bundles/org.openhab.binding.oceanic/src/main/java/org/openhab/binding/oceanic/internal/handler/SerialOceanicThingHandler.java +++ b/bundles/org.openhab.binding.oceanic/src/main/java/org/openhab/binding/oceanic/internal/handler/SerialOceanicThingHandler.java @@ -36,7 +36,7 @@ import gnu.io.SerialPort; import gnu.io.UnsupportedCommOperationException; /** - * The {@link SerialOceanicThingHandler} implements {@link OceanicThingHandler} for a Oceanic water softener that is + * The {@link SerialOceanicThingHandler} implements {@link OceanicThingHandler} for an Oceanic water softener that is * directly connected to a serial port of the openHAB host * * @author Karel Goderis - Initial contribution diff --git a/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/discovery/BusGatewayUpnpDiscovery.java b/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/discovery/BusGatewayUpnpDiscovery.java index f347717e6..cb85f7fed 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/discovery/BusGatewayUpnpDiscovery.java +++ b/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/discovery/BusGatewayUpnpDiscovery.java @@ -226,7 +226,7 @@ public class BusGatewayUpnpDiscovery implements UpnpDiscoveryParticipant { } } } - logger.info("Found BTicino device: not a OpenWebNet gateway or not supported (UDN={})", idString); + logger.info("Found BTicino device: not an OpenWebNet gateway or not supported (UDN={})", idString); } return null; } diff --git a/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetLightingHandler.java b/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetLightingHandler.java index c8f2b61a5..50c5f083a 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetLightingHandler.java +++ b/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetLightingHandler.java @@ -310,7 +310,7 @@ public class OpenWebNetLightingHandler extends OpenWebNetThingHandler { } /** - * Updates light brightness state based on a OWN Lighting message + * Updates light brightness state based on an OWN Lighting message * * @param msg the Lighting message received */ @@ -341,7 +341,7 @@ public class OpenWebNetLightingHandler extends OpenWebNetThingHandler { } /** - * Updates light on/off state based on a OWN Lighting event message received + * Updates light on/off state based on an OWN Lighting event message received * * @param msg the Lighting message received */ diff --git a/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetThingHandler.java b/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetThingHandler.java index 8690fe0ce..05efd3c7b 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetThingHandler.java +++ b/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetThingHandler.java @@ -46,7 +46,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * The {@link OpenWebNetThingHandler} is responsible for handling commands for a OpenWebNet device. + * The {@link OpenWebNetThingHandler} is responsible for handling commands for an OpenWebNet device. * It's the abstract class for all OpenWebNet things. It should be extended by each specific OpenWebNet category of * device (WHO). * diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/i18n/openwebnet.properties b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/i18n/openwebnet.properties index 87db66dbe..478ab6c91 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/i18n/openwebnet.properties +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/i18n/openwebnet.properties @@ -6,43 +6,43 @@ binding.openwebnet.description = The OpenWebNet Binding integrates the BTicino/L # thing types thing-type.openwebnet.bus_automation.label = Automation -thing-type.openwebnet.bus_automation.description = A OpenWebNet BUS/SCS automation device to control roller shutters, blinds, etc. BTicino models: xxx/yyyy/etc. +thing-type.openwebnet.bus_automation.description = An OpenWebNet BUS/SCS automation device to control roller shutters, blinds, etc. BTicino models: xxx/yyyy/etc. thing-type.openwebnet.bus_aux.label = Auxiliary -thing-type.openwebnet.bus_aux.description = A OpenWebNet BUS/SCS Auxiliary command +thing-type.openwebnet.bus_aux.description = An OpenWebNet BUS/SCS Auxiliary command thing-type.openwebnet.bus_cen_scenario_control.label = CEN Scenario Control -thing-type.openwebnet.bus_cen_scenario_control.description = A OpenWebNet BUS/SCS CEN Scenario Control device. BTicino models: HC/HD/HS/L/N/NT4680 +thing-type.openwebnet.bus_cen_scenario_control.description = An OpenWebNet BUS/SCS CEN Scenario Control device. BTicino models: HC/HD/HS/L/N/NT4680 thing-type.openwebnet.bus_cenplus_scenario_control.label = CEN+ Scenario Control -thing-type.openwebnet.bus_cenplus_scenario_control.description = A OpenWebNet BUS/SCS CEN+ Scenario Control device. BTicino models: HC/HD/HS/L/N/NT4680 +thing-type.openwebnet.bus_cenplus_scenario_control.description = An OpenWebNet BUS/SCS CEN+ Scenario Control device. BTicino models: HC/HD/HS/L/N/NT4680 thing-type.openwebnet.bus_dimmer.label = Dimmer -thing-type.openwebnet.bus_dimmer.description = A OpenWebNet BUS/SCS dimmer for the dimmer control of 1 light. BTicino models: yyyy/zzzz/etc. +thing-type.openwebnet.bus_dimmer.description = An OpenWebNet BUS/SCS dimmer for the dimmer control of 1 light. BTicino models: yyyy/zzzz/etc. thing-type.openwebnet.bus_dry_contact_ir.label = Dry Contact/IR Interface -thing-type.openwebnet.bus_dry_contact_ir.description = A OpenWebNet BUS/SCS Dry Contact Interface or IR Interface. BTicino models: 3477/F428, IR 4610-4611-4640 etc. +thing-type.openwebnet.bus_dry_contact_ir.description = An OpenWebNet BUS/SCS Dry Contact Interface or IR Interface. BTicino models: 3477/F428, IR 4610-4611-4640 etc. thing-type.openwebnet.bus_energy_meter.label = Energy Meter -thing-type.openwebnet.bus_energy_meter.description = A OpenWebNet BUS/SCS Energy Meter. BTicino models: F52x +thing-type.openwebnet.bus_energy_meter.description = An OpenWebNet BUS/SCS Energy Meter. BTicino models: F52x thing-type.openwebnet.bus_gateway.label = BUS Gateway thing-type.openwebnet.bus_gateway.description = This thing allows to connect to a IP BUS/SCS gateway that supports the OpenWebNet protocol (models: F454, MyHOMEServer1, F455, MH200N, F453, etc.) thing-type.openwebnet.bus_on_off_switch.label = Switch -thing-type.openwebnet.bus_on_off_switch.description = A OpenWebNet BUS/SCS switch for the control of 1 light/load. BTicino models: xxx/yyyy/etc. +thing-type.openwebnet.bus_on_off_switch.description = An OpenWebNet BUS/SCS switch for the control of 1 light/load. BTicino models: xxx/yyyy/etc. thing-type.openwebnet.bus_scenario_control.label = Scenario Control -thing-type.openwebnet.bus_scenario_control.description = A OpenWebNet BUS/SCS Scenario Control device. BTicino models: F420/IR3456 +thing-type.openwebnet.bus_scenario_control.description = An OpenWebNet BUS/SCS Scenario Control device. BTicino models: F420/IR3456 thing-type.openwebnet.bus_thermo_cu.label = Thermo Central Unit -thing-type.openwebnet.bus_thermo_cu.description = A OpenWebNet BUS/SCS configured thermo Central Unit. +thing-type.openwebnet.bus_thermo_cu.description = An OpenWebNet BUS/SCS configured thermo Central Unit. thing-type.openwebnet.bus_thermo_sensor.label = Thermo Sensor -thing-type.openwebnet.bus_thermo_sensor.description = A OpenWebNet BUS/SCS thermo sensor (probe) for measuring temperature in a zone. BTicino models: L/N/NT4577 etc. +thing-type.openwebnet.bus_thermo_sensor.description = An OpenWebNet BUS/SCS thermo sensor (probe) for measuring temperature in a zone. BTicino models: L/N/NT4577 etc. thing-type.openwebnet.bus_thermo_zone.label = Thermo Zone -thing-type.openwebnet.bus_thermo_zone.description = A OpenWebNet BUS/SCS configured thermo zone (managed via Central Unit or stand alone). +thing-type.openwebnet.bus_thermo_zone.description = An OpenWebNet BUS/SCS configured thermo zone (managed via Central Unit or stand alone). thing-type.openwebnet.generic_device.label = Generic Device thing-type.openwebnet.generic_device.description = An OpenWebNet Generic Device. thing-type.openwebnet.zb_automation.label = ZigBee Automation -thing-type.openwebnet.zb_automation.description = A OpenWebNet ZigBee automation device to control roller shutters, blinds, etc. BTicino models: xxx/yyyy/etc. +thing-type.openwebnet.zb_automation.description = An OpenWebNet ZigBee automation device to control roller shutters, blinds, etc. BTicino models: xxx/yyyy/etc. thing-type.openwebnet.zb_dimmer.label = ZigBee Dimmer -thing-type.openwebnet.zb_dimmer.description = A OpenWebNet ZigBee dimmer for the dimmer control of 1 light. BTicino models: 4585/4594/etc. +thing-type.openwebnet.zb_dimmer.description = An OpenWebNet ZigBee dimmer for the dimmer control of 1 light. BTicino models: 4585/4594/etc. thing-type.openwebnet.zb_gateway.label = ZigBee USB Gateway thing-type.openwebnet.zb_gateway.description = This USB gateway (BTicino/Legrand models: BTI-3578/088328) connects to a BTicino/Legrand ZigBee network and uses the OpenWebNet protocol. For more information see: https://catalogo.bticino.it/BTI-3578-IT and https://www.legrand.com/ecatalogue/088328-openweb-net-zigbee-gateway-radio-interface.html thing-type.openwebnet.zb_on_off_switch.label = ZigBee Switch -thing-type.openwebnet.zb_on_off_switch.description = A OpenWebNet ZigBee switch (actuator) for the control of 1 load/light. BTicino models: 4591/3684/etc. +thing-type.openwebnet.zb_on_off_switch.description = An OpenWebNet ZigBee switch (actuator) for the control of 1 load/light. BTicino models: 4591/3684/etc. thing-type.openwebnet.zb_on_off_switch2u.label = ZigBee 2-units Switch -thing-type.openwebnet.zb_on_off_switch2u.description = A OpenWebNet ZigBee 2-units switch (actuator) for the control of 2 loads/lights. BTicino model: 4592 +thing-type.openwebnet.zb_on_off_switch2u.description = An OpenWebNet ZigBee 2-units switch (actuator) for the control of 2 loads/lights. BTicino model: 4592 # thing types config diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusAutomation.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusAutomation.xml index e91aae147..4eb2eb27a 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusAutomation.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusAutomation.xml @@ -11,7 +11,7 @@ - A OpenWebNet BUS/SCS automation device to control roller shutters, blinds, etc. BTicino models: + An OpenWebNet BUS/SCS automation device to control roller shutters, blinds, etc. BTicino models: xxx/yyyy/etc. diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusAux.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusAux.xml index afc30924b..b31e25b67 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusAux.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusAux.xml @@ -10,7 +10,7 @@ - A OpenWebNet BUS/SCS Auxiliary command + An OpenWebNet BUS/SCS Auxiliary command diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusBasicScenarioControl.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusBasicScenarioControl.xml index 215e25402..f3bb61f86 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusBasicScenarioControl.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusBasicScenarioControl.xml @@ -11,7 +11,7 @@ - A OpenWebNet BUS/SCS Scenario Control device. BTicino models: F420/IR3456 + An OpenWebNet BUS/SCS Scenario Control device. BTicino models: F420/IR3456 diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusCENPlusScenarioControl.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusCENPlusScenarioControl.xml index 5c369e87f..8ad0c0f30 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusCENPlusScenarioControl.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusCENPlusScenarioControl.xml @@ -10,7 +10,7 @@ - A OpenWebNet BUS/SCS CEN+ Scenario Control device. BTicino models: HC/HD/HS/L/N/NT4680 + An OpenWebNet BUS/SCS CEN+ Scenario Control device. BTicino models: HC/HD/HS/L/N/NT4680 diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusCENScenarioControl.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusCENScenarioControl.xml index 72bb2c5f1..8d4913913 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusCENScenarioControl.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusCENScenarioControl.xml @@ -11,7 +11,7 @@ - A OpenWebNet BUS/SCS CEN Scenario Control device. BTicino models: HC/HD/HS/L/N/NT4680 + An OpenWebNet BUS/SCS CEN Scenario Control device. BTicino models: HC/HD/HS/L/N/NT4680 diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusDimmer.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusDimmer.xml index 5288e9b5a..db237c9ca 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusDimmer.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusDimmer.xml @@ -11,7 +11,7 @@ - A OpenWebNet BUS/SCS dimmer for the dimmer control of 1 light. BTicino models: yyyy/zzzz/etc. + An OpenWebNet BUS/SCS dimmer for the dimmer control of 1 light. BTicino models: yyyy/zzzz/etc. diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusDryContactIR.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusDryContactIR.xml index 3c84f62b2..3bbeb964f 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusDryContactIR.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusDryContactIR.xml @@ -11,7 +11,7 @@ - A OpenWebNet BUS/SCS Dry Contact Interface or IR Interface. BTicino models: 3477/F428, IR 4610-4611-4640 + An OpenWebNet BUS/SCS Dry Contact Interface or IR Interface. BTicino models: 3477/F428, IR 4610-4611-4640 etc. diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusEnergyMeter.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusEnergyMeter.xml index e9990a2e8..208dc53e0 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusEnergyMeter.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusEnergyMeter.xml @@ -11,7 +11,7 @@ - A OpenWebNet BUS/SCS Energy Meter. BTicino models: F52x + An OpenWebNet BUS/SCS Energy Meter. BTicino models: F52x diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusOnOffSwitch.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusOnOffSwitch.xml index f8e7398b9..2e01ac03f 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusOnOffSwitch.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusOnOffSwitch.xml @@ -11,7 +11,7 @@ - A OpenWebNet BUS/SCS switch for the control of 1 light/load. BTicino models: xxx/yyyy/etc. + An OpenWebNet BUS/SCS switch for the control of 1 light/load. BTicino models: xxx/yyyy/etc. diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoCentralUnit.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoCentralUnit.xml index 792bb64ba..a660739a2 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoCentralUnit.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoCentralUnit.xml @@ -11,7 +11,7 @@ - A OpenWebNet BUS/SCS configured thermo Central Unit. + An OpenWebNet BUS/SCS configured thermo Central Unit. diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoSensor.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoSensor.xml index 4f878a1fc..75411e635 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoSensor.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoSensor.xml @@ -10,7 +10,7 @@ - A OpenWebNet BUS/SCS thermo sensor (probe) for measuring temperature in a zone. BTicino models: + An OpenWebNet BUS/SCS thermo sensor (probe) for measuring temperature in a zone. BTicino models: L/N/NT4577 etc. diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoZone.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoZone.xml index 7b8c2562f..63d4c95b4 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoZone.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/BusThermoZone.xml @@ -11,7 +11,7 @@ - A OpenWebNet BUS/SCS configured thermo zone (managed via Central Unit or stand alone). + An OpenWebNet BUS/SCS configured thermo zone (managed via Central Unit or stand alone). diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBAutomation.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBAutomation.xml index 340541a9a..d647cc394 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBAutomation.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBAutomation.xml @@ -11,7 +11,7 @@ - A OpenWebNet ZigBee automation device to control roller shutters, blinds, etc. BTicino models: + An OpenWebNet ZigBee automation device to control roller shutters, blinds, etc. BTicino models: xxx/yyyy/etc. diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBDimmer.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBDimmer.xml index f27f8b857..bbbf8f68a 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBDimmer.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBDimmer.xml @@ -11,7 +11,7 @@ - A OpenWebNet ZigBee dimmer for the dimmer control of 1 light. BTicino models: 4585/4594/etc. + An OpenWebNet ZigBee dimmer for the dimmer control of 1 light. BTicino models: 4585/4594/etc. diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBOnOffSwitch.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBOnOffSwitch.xml index 6e0f3e171..07ed0c72f 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBOnOffSwitch.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBOnOffSwitch.xml @@ -11,7 +11,7 @@ - A OpenWebNet ZigBee switch (actuator) for the control of 1 load/light. BTicino models: 4591/3684/etc. + An OpenWebNet ZigBee switch (actuator) for the control of 1 load/light. BTicino models: 4591/3684/etc. diff --git a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBOnOffSwitch2Units.xml b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBOnOffSwitch2Units.xml index 8f1fd5858..f75579587 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBOnOffSwitch2Units.xml +++ b/bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/ZBOnOffSwitch2Units.xml @@ -11,7 +11,7 @@ - A OpenWebNet ZigBee 2-units switch (actuator) for the control of 2 loads/lights. BTicino model: 4592 + An OpenWebNet ZigBee 2-units switch (actuator) for the control of 2 loads/lights. BTicino model: 4592 diff --git a/bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/handler/IpAvrHandler.java b/bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/handler/IpAvrHandler.java index 6134f3b28..1c3be80d9 100644 --- a/bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/handler/IpAvrHandler.java +++ b/bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/handler/IpAvrHandler.java @@ -18,7 +18,7 @@ import org.openhab.binding.pioneeravr.internal.protocol.ip.IpAvrConnection; import org.openhab.core.thing.Thing; /** - * An handler of an AVR connected through an IP connection. + * A handler of an AVR connected through an IP connection. * * @author Antoine Besnard - Initial contribution */ diff --git a/bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/handler/SerialAvrHandler.java b/bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/handler/SerialAvrHandler.java index fcd9c9577..1e8206b8d 100644 --- a/bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/handler/SerialAvrHandler.java +++ b/bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/handler/SerialAvrHandler.java @@ -19,7 +19,7 @@ import org.openhab.core.io.transport.serial.SerialPortManager; import org.openhab.core.thing.Thing; /** - * An handler of an AVR connected through a serial port. + * A handler of an AVR connected through a serial port. * * @author Antoine Besnard - Initial contribution */ diff --git a/bundles/org.openhab.binding.playstation/src/main/java/org/openhab/binding/playstation/internal/PS4PacketHandler.java b/bundles/org.openhab.binding.playstation/src/main/java/org/openhab/binding/playstation/internal/PS4PacketHandler.java index 1feb65c3d..699f7e5f6 100644 --- a/bundles/org.openhab.binding.playstation/src/main/java/org/openhab/binding/playstation/internal/PS4PacketHandler.java +++ b/bundles/org.openhab.binding.playstation/src/main/java/org/openhab/binding/playstation/internal/PS4PacketHandler.java @@ -234,7 +234,7 @@ public class PS4PacketHandler { /** * Tell the PS4 that we want to get info about the OnScreenKeyboard. * - * @return A OSKStartPacket. + * @return An OSKStartPacket. */ static ByteBuffer makeOSKStartPacket() { return newPacketForEncryption(8, PS4Command.OSK_START_REQ); @@ -244,7 +244,7 @@ public class PS4PacketHandler { * Send text to the OSK on the PS4. Replaces all the text as it is now. * * @param text - * @return A OSKStringChangePacket. + * @return An OSKStringChangePacket. */ static ByteBuffer makeOSKStringChangePacket(String text) { byte[] chars = text.getBytes(StandardCharsets.UTF_16LE); @@ -259,7 +259,7 @@ public class PS4PacketHandler { } /** - * Parses out the text from a OSKStringChange-packet. + * Parses out the text from an OSKStringChange-packet. * * @param buffer The received packet from the PS4. * @return The text in the packet. diff --git a/bundles/org.openhab.binding.russound/src/main/java/org/openhab/binding/russound/internal/rio/zone/RioZoneProtocol.java b/bundles/org.openhab.binding.russound/src/main/java/org/openhab/binding/russound/internal/rio/zone/RioZoneProtocol.java index 8c3d52f2d..6229ff343 100644 --- a/bundles/org.openhab.binding.russound/src/main/java/org/openhab/binding/russound/internal/rio/zone/RioZoneProtocol.java +++ b/bundles/org.openhab.binding.russound/src/main/java/org/openhab/binding/russound/internal/rio/zone/RioZoneProtocol.java @@ -638,7 +638,7 @@ class RioZoneProtocol extends AbstractRioProtocol } /** - * Sends a EVENT instruction to the zone + * Sends an EVENT instruction to the zone * * @param event a non-null, non-empty string to send * @throws IllegalArgumentException if event is null or empty diff --git a/bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyRelayHandler.java b/bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyRelayHandler.java index 6646df6ec..48c18e322 100644 --- a/bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyRelayHandler.java +++ b/bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyRelayHandler.java @@ -144,8 +144,8 @@ public class ShellyRelayHandler extends ShellyBaseHandler { /** * Brightness channel has 2 functions: Switch On/Off (OnOnType) and setting brightness (PercentType) * There is some more logic in the control. When brightness is set to 0 the control sends also an OFF command - * When current brightness is 0 and slider will be moved the new brightness will be set, but also a ON command is - * send. + * When current brightness is 0 and slider will be moved the new brightness will be set, but also an ON command is + * sent. * * @param command * @param index @@ -379,8 +379,8 @@ public class ShellyRelayHandler extends ShellyBaseHandler { createDimmerChannels(dstatus, l); // On a status update we map a dimmer.ison = false to brightness 0 rather than the device's brightness - // and send a OFF status to the same channel. - // When the device's brightness is > 0 we send the new value to the channel and a ON command + // and send an OFF status to the same channel. + // When the device's brightness is > 0 we send the new value to the channel and an ON command if (dimmer.ison) { updated |= updateChannel(groupName, CHANNEL_BRIGHTNESS + "$Switch", OnOffType.ON); updated |= updateChannel(groupName, CHANNEL_BRIGHTNESS + "$Value", diff --git a/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/connectors/ConnectorBase.java b/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/connectors/ConnectorBase.java index 6af5a655c..2b6027176 100644 --- a/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/connectors/ConnectorBase.java +++ b/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/connectors/ConnectorBase.java @@ -140,7 +140,7 @@ public abstract class ConnectorBase implements IMeterReaderConnector { } /** - * Emitting of values shall happen here. If there is a event based emitting, this can be overriden. + * Emitting of values shall happen here. If there is an event based emitting, this can be overriden. * * @param initMessage The message which shall be written before reading the values. * @param emitter The {@link FlowableEmitter} to emit the values to. diff --git a/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/sml/SmlValueExtractor.java b/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/sml/SmlValueExtractor.java index ec4b15a6a..6958c9d61 100644 --- a/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/sml/SmlValueExtractor.java +++ b/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/sml/SmlValueExtractor.java @@ -25,7 +25,7 @@ import org.openmuc.jsml.structures.ASNObject; import org.openmuc.jsml.structures.SmlListEntry; /** - * Proxy class to encapsulate a openMUC SML_ListEntry-Object to read informations. + * Proxy class to encapsulate an openMUC SML_ListEntry-Object to read informations. * * @author Matthias Steigenberger - Initial contribution * @author Mathias Gilhuber - Also-By diff --git a/bundles/org.openhab.binding.solarwatt/src/main/java/org/openhab/binding/solarwatt/internal/domain/model/Location.java b/bundles/org.openhab.binding.solarwatt/src/main/java/org/openhab/binding/solarwatt/internal/domain/model/Location.java index 520dffc45..4de64adc0 100644 --- a/bundles/org.openhab.binding.solarwatt/src/main/java/org/openhab/binding/solarwatt/internal/domain/model/Location.java +++ b/bundles/org.openhab.binding.solarwatt/src/main/java/org/openhab/binding/solarwatt/internal/domain/model/Location.java @@ -95,7 +95,7 @@ public class Location extends Device { public void update(DeviceDTO deviceDTO) { super.update(deviceDTO); - // values to put on a overview dashboard + // values to put on an overview dashboard this.addWattQuantity(CHANNEL_POWER_BUFFERED, deviceDTO); this.addWattQuantity(CHANNEL_POWER_SELF_CONSUMED, deviceDTO); this.addWattQuantity(CHANNEL_POWER_SELF_SUPPLIED, deviceDTO); diff --git a/bundles/org.openhab.binding.sonnen/src/main/java/org/openhab/binding/sonnen/internal/communication/SonnenJsonDataDTO.java b/bundles/org.openhab.binding.sonnen/src/main/java/org/openhab/binding/sonnen/internal/communication/SonnenJsonDataDTO.java index 84c2dae5d..841323ca4 100644 --- a/bundles/org.openhab.binding.sonnen/src/main/java/org/openhab/binding/sonnen/internal/communication/SonnenJsonDataDTO.java +++ b/bundles/org.openhab.binding.sonnen/src/main/java/org/openhab/binding/sonnen/internal/communication/SonnenJsonDataDTO.java @@ -16,7 +16,7 @@ import com.google.gson.annotations.SerializedName; /** * The {@link SonnenJsonDataDTO} is the Java class used to map the JSON - * response to a Oven request. + * response to an Oven request. * * @author Christian Feininger - Initial contribution */ diff --git a/bundles/org.openhab.binding.tacmi/README.md b/bundles/org.openhab.binding.tacmi/README.md index 329f5b9e9..c88abed12 100644 --- a/bundles/org.openhab.binding.tacmi/README.md +++ b/bundles/org.openhab.binding.tacmi/README.md @@ -75,7 +75,7 @@ Don’t forget to reboot the CMI after you uploaded the coe.csv file. This thing reflecting one of our 'schema API page' as defined in the prerequisites. This thing doesn't need the bridge. -Multiple of these pages on different C.M.I.'s could be defined within a openHAB instance. +Multiple of these pages on different C.M.I.'s could be defined within an openHAB instance. * TA C.M.I. CoE Bridge @@ -108,7 +108,7 @@ The thing has the following configuration parameters: | API Schema ID | schemaId | ID of the schema API page | 1-256 | | Poll Interval | pollInterval | Poll interval (in seconds) how often to poll the API Page | 1-300; default 10 | -This thing doesn't need a bridge. Multiple of these things for different C.M.I.'s could be defined within a openHAB instance. +This thing doesn't need a bridge. Multiple of these things for different C.M.I.'s could be defined within an openHAB instance. ### TA C.M.I. CoE Connection diff --git a/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxBindingConfig.java b/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxBindingConfig.java index e3d2b1e53..bffe84d03 100644 --- a/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxBindingConfig.java +++ b/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxBindingConfig.java @@ -17,7 +17,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * This represents the configuration of a openHAB item that is binded to a Velux + * This represents the configuration of an openHAB item that is binded to a Velux * KLF200 Gateway. It contains the following information: * *

    diff --git a/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxRSBindingConfig.java b/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxRSBindingConfig.java index a2f64955e..01ddb9674 100644 --- a/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxRSBindingConfig.java +++ b/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxRSBindingConfig.java @@ -22,7 +22,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * This represents the configuration of a openHAB item that is binded to a Velux + * This represents the configuration of an openHAB item that is binded to a Velux * KLF200 Gateway. It contains the following information: * *
      diff --git a/bundles/org.openhab.binding.webthing/README.md b/bundles/org.openhab.binding.webthing/README.md index 2961f7990..0ade4363d 100644 --- a/bundles/org.openhab.binding.webthing/README.md +++ b/bundles/org.openhab.binding.webthing/README.md @@ -61,7 +61,7 @@ Here, the WebThings provided by the *Internet Monitor Service*: the *Internet Co ![discovery picture](doc/speedmonitor.png) -Alternatively, you may add the WebThing as a openHAB Thing by using a webthing.thing file that has to be located inside the things folder. +Alternatively, you may add the WebThing as an openHAB Thing by using a webthing.thing file that has to be located inside the things folder. ``` Thing webthing:generic:speedmonitor [ webThingURI="http://192.168.1.27:9496/0" ] diff --git a/bundles/org.openhab.binding.webthing/src/main/java/org/openhab/binding/webthing/internal/ChannelHandler.java b/bundles/org.openhab.binding.webthing/src/main/java/org/openhab/binding/webthing/internal/ChannelHandler.java index 4f398ed3e..b9585a944 100644 --- a/bundles/org.openhab.binding.webthing/src/main/java/org/openhab/binding/webthing/internal/ChannelHandler.java +++ b/bundles/org.openhab.binding.webthing/src/main/java/org/openhab/binding/webthing/internal/ChannelHandler.java @@ -43,7 +43,7 @@ public interface ChannelHandler { void updateItemState(ChannelUID channelUID, Command command); /** - * Listener that will be notified, if a Item state is changed + * Listener that will be notified, if an Item state is changed */ interface ItemChangedListener { diff --git a/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayBridgeHandler.java b/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayBridgeHandler.java index 366658964..f2d8ac143 100644 --- a/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayBridgeHandler.java +++ b/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayBridgeHandler.java @@ -99,7 +99,7 @@ public class ZWayBridgeHandler extends BaseBridgeHandler implements IZWayApiCall // suppressed. Otherwise, the task will only terminate via cancellation or // termination of the executor. try { - // Authenticate - thing status update with a error message + // Authenticate - thing status update with an error message if (mZWayApi.getLogin() != null) { // Thing status set to online in login callback logger.info("Z-Way bridge successfully authenticated"); diff --git a/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayZAutomationDeviceHandler.java b/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayZAutomationDeviceHandler.java index 66789881c..877cf474c 100644 --- a/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayZAutomationDeviceHandler.java +++ b/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayZAutomationDeviceHandler.java @@ -118,7 +118,7 @@ public class ZWayZAutomationDeviceHandler extends ZWayDeviceHandler { updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_PENDING, "Checking configuration and bridge..."); - // Configuration - thing status update with a error message + // Configuration - thing status update with an error message mConfig = loadAndCheckConfiguration(); if (mConfig != null) { diff --git a/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayZWaveDeviceHandler.java b/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayZWaveDeviceHandler.java index 216d2f907..89e64a792 100644 --- a/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayZWaveDeviceHandler.java +++ b/bundles/org.openhab.binding.zway/src/main/java/org/openhab/binding/zway/internal/handler/ZWayZWaveDeviceHandler.java @@ -151,7 +151,7 @@ public class ZWayZWaveDeviceHandler extends ZWayDeviceHandler { updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_PENDING, "Checking configuration and bridge..."); - // Configuration - thing status update with a error message + // Configuration - thing status update with an error message mConfig = loadAndCheckConfiguration(); if (mConfig != null) { diff --git a/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitAccessoryFactory.java b/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitAccessoryFactory.java index ca6234192..298ccca8d 100644 --- a/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitAccessoryFactory.java +++ b/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitAccessoryFactory.java @@ -202,7 +202,7 @@ public class HomekitAccessoryFactory { } /** - * return HomeKit accessory types for a OH item based on meta data + * return HomeKit accessory types for an OH item based on meta data * * @param item OH item * @param metadataRegistry meta data registry @@ -372,7 +372,7 @@ public class HomekitAccessoryFactory { } /** - * collect optional HomeKit characteristics for a OH item. + * collect optional HomeKit characteristics for an OH item. * * @param taggedItem main OH item * @param metadataRegistry OH metadata registry diff --git a/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitCharacteristicFactory.java b/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitCharacteristicFactory.java index 8fa992526..c16a17cdd 100644 --- a/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitCharacteristicFactory.java +++ b/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitCharacteristicFactory.java @@ -116,7 +116,7 @@ import io.github.hapjava.characteristics.impl.windowcovering.TargetVerticalTiltA import tech.units.indriya.unit.UnitDimension; /** - * Creates a optional characteristics . + * Creates an optional characteristics . * * @author Eugen Freiter - Initial contribution */ diff --git a/bundles/org.openhab.io.imperihome/src/main/java/org/openhab/io/imperihome/internal/model/device/MultiSwitchDevice.java b/bundles/org.openhab.io.imperihome/src/main/java/org/openhab/io/imperihome/internal/model/device/MultiSwitchDevice.java index 229c6aec4..f64b17ae5 100644 --- a/bundles/org.openhab.io.imperihome/src/main/java/org/openhab/io/imperihome/internal/model/device/MultiSwitchDevice.java +++ b/bundles/org.openhab.io.imperihome/src/main/java/org/openhab/io/imperihome/internal/model/device/MultiSwitchDevice.java @@ -22,7 +22,7 @@ import org.openhab.io.imperihome.internal.model.param.DeviceParam; import org.openhab.io.imperihome.internal.model.param.ParamType; /** - * MultiSwitch device, mimics behavior of a OH Switch with a mapping. + * MultiSwitch device, mimics behavior of an OH Switch with a mapping. * * @author Pepijn de Geus - Initial contribution */ diff --git a/bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/models/ItemSubType.java b/bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/models/ItemSubType.java index f47bda383..1577f9d6a 100644 --- a/bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/models/ItemSubType.java +++ b/bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/models/ItemSubType.java @@ -51,7 +51,7 @@ public enum ItemSubType { } /** - * Parses the text into a ItemSubType enum (ignoring case) + * Parses the text into an ItemSubType enum (ignoring case) * * @param text the text to parse * @return the ItemSubType type diff --git a/bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/InfluxDBPersistenceService.java b/bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/InfluxDBPersistenceService.java index 6139e0ce3..83b326060 100644 --- a/bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/InfluxDBPersistenceService.java +++ b/bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/InfluxDBPersistenceService.java @@ -208,7 +208,7 @@ public class InfluxDBPersistenceService implements QueryablePersistenceService { logger.trace("Storing item {} in InfluxDB point {}", item, point); influxDBRepository.write(point); } else { - logger.trace("Ignoring item {} as is cannot be converted to a InfluxDB point", item); + logger.trace("Ignoring item {} as is cannot be converted to an InfluxDB point", item); } } else { logger.debug("store ignored, InfluxDB is not yet connected"); diff --git a/bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/internal/FilterCriteriaQueryCreator.java b/bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/internal/FilterCriteriaQueryCreator.java index 55026c8e1..bdd01e580 100644 --- a/bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/internal/FilterCriteriaQueryCreator.java +++ b/bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/internal/FilterCriteriaQueryCreator.java @@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault; import org.openhab.core.persistence.FilterCriteria; /** - * Creates InfluxDB query sentence given a OpenHab persistence {@link FilterCriteria} + * Creates InfluxDB query sentence given an OpenHab persistence {@link FilterCriteria} * * @author Joan Pujol Espinar - Initial contribution */ diff --git a/bundles/org.openhab.persistence.rrd4j/README.md b/bundles/org.openhab.persistence.rrd4j/README.md index b77c4981b..6a2972d0a 100644 --- a/bundles/org.openhab.persistence.rrd4j/README.md +++ b/bundles/org.openhab.persistence.rrd4j/README.md @@ -75,7 +75,7 @@ It must be an alphanumeric string. Defines the type of data to be stored. It must be one of the following string values: -- **COUNTER** represents a ever-incrementing value (historically this was used for packet counters or traffic counters on network interfaces, a typical home-automation application would be your electricity meter). If you store the values of this counter in a simple database and make a chart of that, you'll most likely see a nearly flat line, because the increments per time are small compared to the absolute value (e.g. your electricity meter reads 60567 kWh, and you add 0.5 kWh per hour, than your chart over the whole day will show 60567 at the start and 60579 at the end of your chart. That is nearly invisible. RRD4J helps you out and will display the difference from one stored value to the other (depending on the selected size). Please note that the persistence extensions will return difference instead of the actual values if you use this type; this especially leads to wrong values if you try to restoreOnStartup! +- **COUNTER** represents an ever-incrementing value (historically this was used for packet counters or traffic counters on network interfaces, a typical home-automation application would be your electricity meter). If you store the values of this counter in a simple database and make a chart of that, you'll most likely see a nearly flat line, because the increments per time are small compared to the absolute value (e.g. your electricity meter reads 60567 kWh, and you add 0.5 kWh per hour, than your chart over the whole day will show 60567 at the start and 60579 at the end of your chart. That is nearly invisible. RRD4J helps you out and will display the difference from one stored value to the other (depending on the selected size). Please note that the persistence extensions will return difference instead of the actual values if you use this type; this especially leads to wrong values if you try to restoreOnStartup! - **GAUGE** represents the reading of e.g. a temperature sensor. You'll see only small deviation over the day and your values will be within a small range, clearly visible within a chart. - **ABSOLUTE** is like a counter, but RRD4J assumes that the counter is reset when the value is read. So these are basically the delta values between the reads. - **DERIVE** is like a counter, but it can also decrease and therefore have a negative delta. diff --git a/bundles/org.openhab.transform.exec/src/main/java/org/openhab/transform/exec/internal/profiles/ExecTransformationProfile.java b/bundles/org.openhab.transform.exec/src/main/java/org/openhab/transform/exec/internal/profiles/ExecTransformationProfile.java index 7e6a5b4e0..f909f8d65 100644 --- a/bundles/org.openhab.transform.exec/src/main/java/org/openhab/transform/exec/internal/profiles/ExecTransformationProfile.java +++ b/bundles/org.openhab.transform.exec/src/main/java/org/openhab/transform/exec/internal/profiles/ExecTransformationProfile.java @@ -29,7 +29,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Profile to offer the ExecTransformationservice on a ItemChannelLink + * Profile to offer the ExecTransformationservice on an ItemChannelLink * * @author Stefan Triller - initial contribution */ diff --git a/bundles/org.openhab.transform.javascript/README.md b/bundles/org.openhab.transform.javascript/README.md index 1e03dd30c..32b934928 100644 --- a/bundles/org.openhab.transform.javascript/README.md +++ b/bundles/org.openhab.transform.javascript/README.md @@ -5,7 +5,7 @@ Transform an input to an output using JavaScript. It expects the transformation rule to be read from a file which is stored under the `transform` folder. To organize the various transformations, one should use subfolders. -Simple transformation rules can also be given as a inline script. +Simple transformation rules can also be given as an inline script. Inline script should be start by `|` character following the JavaScript. Beware that complex inline script could cause issues to e.g. item file parsing. diff --git a/bundles/org.openhab.transform.javascript/src/main/java/org/openhab/transform/javascript/internal/profiles/JavaScriptTransformationProfile.java b/bundles/org.openhab.transform.javascript/src/main/java/org/openhab/transform/javascript/internal/profiles/JavaScriptTransformationProfile.java index f3d338a7a..affda3605 100644 --- a/bundles/org.openhab.transform.javascript/src/main/java/org/openhab/transform/javascript/internal/profiles/JavaScriptTransformationProfile.java +++ b/bundles/org.openhab.transform.javascript/src/main/java/org/openhab/transform/javascript/internal/profiles/JavaScriptTransformationProfile.java @@ -29,7 +29,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Profile to offer the JavascriptTransformationservice on a ItemChannelLink + * Profile to offer the JavascriptTransformationservice on an ItemChannelLink * * @author Stefan Triller - Initial contribution */ diff --git a/bundles/org.openhab.transform.jinja/src/main/java/org/openhab/transform/jinja/internal/profiles/JinjaTransformationProfile.java b/bundles/org.openhab.transform.jinja/src/main/java/org/openhab/transform/jinja/internal/profiles/JinjaTransformationProfile.java index a46b9a13c..fbc213e01 100644 --- a/bundles/org.openhab.transform.jinja/src/main/java/org/openhab/transform/jinja/internal/profiles/JinjaTransformationProfile.java +++ b/bundles/org.openhab.transform.jinja/src/main/java/org/openhab/transform/jinja/internal/profiles/JinjaTransformationProfile.java @@ -28,7 +28,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Profile to offer the JinjaTransformationservice on a ItemChannelLink + * Profile to offer the JinjaTransformationservice on an ItemChannelLink * * @author Jochen Klein - initial contribution * diff --git a/bundles/org.openhab.transform.jsonpath/src/main/java/org/openhab/transform/jsonpath/internal/profiles/JSonPathTransformationProfile.java b/bundles/org.openhab.transform.jsonpath/src/main/java/org/openhab/transform/jsonpath/internal/profiles/JSonPathTransformationProfile.java index 355313021..f5ab8a4c9 100644 --- a/bundles/org.openhab.transform.jsonpath/src/main/java/org/openhab/transform/jsonpath/internal/profiles/JSonPathTransformationProfile.java +++ b/bundles/org.openhab.transform.jsonpath/src/main/java/org/openhab/transform/jsonpath/internal/profiles/JSonPathTransformationProfile.java @@ -28,7 +28,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Profile to offer the JSonPathTransformationservice on a ItemChannelLink + * Profile to offer the JSonPathTransformationservice on an ItemChannelLink * * @author Stefan Triller - initial contribution * diff --git a/bundles/org.openhab.transform.map/src/main/java/org/openhab/transform/map/internal/profiles/MapTransformationProfile.java b/bundles/org.openhab.transform.map/src/main/java/org/openhab/transform/map/internal/profiles/MapTransformationProfile.java index 32087bb7c..21809026e 100644 --- a/bundles/org.openhab.transform.map/src/main/java/org/openhab/transform/map/internal/profiles/MapTransformationProfile.java +++ b/bundles/org.openhab.transform.map/src/main/java/org/openhab/transform/map/internal/profiles/MapTransformationProfile.java @@ -28,7 +28,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Profile to offer the MapTransformationservice on a ItemChannelLink + * Profile to offer the MapTransformationservice on an ItemChannelLink * * @author Stefan Triller - Initial contribution */ diff --git a/bundles/org.openhab.transform.regex/src/main/java/org/openhab/transform/regex/internal/profiles/RegexTransformationProfile.java b/bundles/org.openhab.transform.regex/src/main/java/org/openhab/transform/regex/internal/profiles/RegexTransformationProfile.java index 1b6efda3a..6174fb8d4 100644 --- a/bundles/org.openhab.transform.regex/src/main/java/org/openhab/transform/regex/internal/profiles/RegexTransformationProfile.java +++ b/bundles/org.openhab.transform.regex/src/main/java/org/openhab/transform/regex/internal/profiles/RegexTransformationProfile.java @@ -28,7 +28,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Profile to offer the RegexTransformationservice on a ItemChannelLink + * Profile to offer the RegexTransformationservice on an ItemChannelLink * * @author Stefan Triller - initial contribution * diff --git a/bundles/org.openhab.transform.scale/src/main/java/org/openhab/transform/scale/internal/profiles/ScaleTransformationProfile.java b/bundles/org.openhab.transform.scale/src/main/java/org/openhab/transform/scale/internal/profiles/ScaleTransformationProfile.java index 4320106b6..9514e2c62 100644 --- a/bundles/org.openhab.transform.scale/src/main/java/org/openhab/transform/scale/internal/profiles/ScaleTransformationProfile.java +++ b/bundles/org.openhab.transform.scale/src/main/java/org/openhab/transform/scale/internal/profiles/ScaleTransformationProfile.java @@ -28,7 +28,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Profile to offer the ScaleTransformationservice on a ItemChannelLink + * Profile to offer the ScaleTransformationservice on an ItemChannelLink * * @author Stefan Triller - Initial contribution */ diff --git a/bundles/org.openhab.transform.xpath/src/main/java/org/openhab/transform/xpath/internal/profiles/XPathTransformationProfile.java b/bundles/org.openhab.transform.xpath/src/main/java/org/openhab/transform/xpath/internal/profiles/XPathTransformationProfile.java index 2bdd192b6..5b1e01941 100644 --- a/bundles/org.openhab.transform.xpath/src/main/java/org/openhab/transform/xpath/internal/profiles/XPathTransformationProfile.java +++ b/bundles/org.openhab.transform.xpath/src/main/java/org/openhab/transform/xpath/internal/profiles/XPathTransformationProfile.java @@ -28,7 +28,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Profile to offer the XPathTransformationservice on a ItemChannelLink + * Profile to offer the XPathTransformationservice on an ItemChannelLink * * @author Stefan Triller - initial contribution * diff --git a/bundles/org.openhab.transform.xslt/src/main/java/org/openhab/transform/xslt/internal/profiles/XSLTTransformationProfile.java b/bundles/org.openhab.transform.xslt/src/main/java/org/openhab/transform/xslt/internal/profiles/XSLTTransformationProfile.java index e31b1eddc..b5f8e346c 100644 --- a/bundles/org.openhab.transform.xslt/src/main/java/org/openhab/transform/xslt/internal/profiles/XSLTTransformationProfile.java +++ b/bundles/org.openhab.transform.xslt/src/main/java/org/openhab/transform/xslt/internal/profiles/XSLTTransformationProfile.java @@ -28,7 +28,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Profile to offer the XsltTransformationservice on a ItemChannelLink + * Profile to offer the XsltTransformationservice on an ItemChannelLink * * @author Stefan Triller - initial contribution *