Skip to content

Commit

Permalink
Typos a/an (openhab#13819)
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and borazslo committed Jan 8, 2023
1 parent 74b073f commit f540b14
Show file tree
Hide file tree
Showing 121 changed files with 167 additions and 167 deletions.
2 changes: 1 addition & 1 deletion bundles/org.openhab.automation.jsscripting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.binding.amazonechocontrol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ sitemap smarthome label="Smart Home Devices"

The url <YOUR_OPENHAB>/amazonechocontrol/<YOUR_ACCOUNT>/PROXY/<API_URL> 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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -224,7 +224,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {
} 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 {
Expand Down Expand Up @@ -468,7 +468,7 @@ private void pollAutelisController() throws InterruptedException {
}

/**
* Simple logic to perform a authenticated GET request
* Simple logic to perform an authenticated GET request
*
* @param url
* @param timeout
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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">
<thing-type id="jandy">
<label>Jandy Pool Controller</label>
<description>A Jandy pool control thing represents a Autelis pool controller for Jandy systems</description>
<description>A Jandy pool control thing represents an Autelis pool controller for Jandy systems</description>
<channels>
<channel id="system-runstate" typeId="system-runstate"/>
<channel id="system-model" typeId="system-model"/>
Expand Down Expand Up @@ -209,11 +209,11 @@
</parameter>
<parameter name="user" type="text" required="true">
<label>User Name</label>
<description>The user name to use when connecting to a Autelis Controller.</description>
<description>The user name to use when connecting to an Autelis Controller.</description>
</parameter>
<parameter name="password" type="text" required="true">
<label>Password</label>
<description>The password to use when connecting to a Autelis Controller.</description>
<description>The password to use when connecting to an Autelis Controller.</description>
</parameter>
<parameter name="refresh" type="integer" required="false">
<label>Refresh Interval</label>
Expand Down Expand Up @@ -296,7 +296,7 @@
<channel-type id="equipment-switch">
<item-type>Switch</item-type>
<label>Equipment Switch</label>
<description>The current state of a equipment switch</description>
<description>The current state of an equipment switch</description>
</channel-type>
<channel-type id="equipment-ht">
<item-type>Number</item-type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,11 @@
</parameter>
<parameter name="user" type="text" required="true">
<label>User Name</label>
<description>The user name to use when connecting to a Autelis Controller.</description>
<description>The user name to use when connecting to an Autelis Controller.</description>
</parameter>
<parameter name="password" type="text" required="true">
<label>Password</label>
<description>The password to use when connecting to a Autelis Controller.</description>
<description>The password to use when connecting to an Autelis Controller.</description>
</parameter>
<parameter name="refresh" type="integer" required="false">
<label>Refresh Interval</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</supported-bridge-type-refs>

<label>AM43 Blind Drive Motor</label>
<description>A AM43 Blind Drive Motor</description>
<description>An AM43 Blind Drive Motor</description>
<category>Blinds</category>

<channels>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public void scanStart() {
cancelScheduledPassiveScan();
bgEndProcedure();

// Start a active scan
// Start an active scan
bgStartScanning(true, configuration.activeScanInterval, configuration.activeScanWindow);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Class to implement the BlueGiga command <b>indicateConfirm</b>.
* <p>
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* Class to implement the BlueGiga command <b>procedureCompletedEvent</b>.
* <p>
* 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
* <p>
* This class provides methods for processing BlueGiga API commands.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Class to implement the BlueGiga command <b>getStatus</b>.
* <p>
* 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.
* <p>
* This class provides methods for processing BlueGiga API commands.
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Class to implement the BlueGiga command <b>getStatus</b>.
* <p>
* 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.
* <p>
* This class provides methods for processing BlueGiga API commands.
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void updatePresetContainerFromPlayer(Map<Integer, ContentItem> playerPres
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public Collection<ContentItem> getAllPresets() {
}

/**
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.binding.coolmasternet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.binding.deconz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
<bridge-type-ref id="deconz"/>
</supported-bridge-type-refs>
<label>Open/Close Sensor</label>
<description>A open/close sensor</description>
<description>An open/close sensor</description>
<channels>
<channel typeId="open" id="open"/>
<channel typeId="last_updated" id="last_updated"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void initialize() {
*
* @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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public void removeEventHandler(EventHandler eventHandler) {
* 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)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
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()
Expand Down
Loading

0 comments on commit f540b14

Please sign in to comment.