mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-04 11:24:10 +01:00
Fix typo: prefered (#18183)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
29e909eeea
commit
dfb322b12c
@ -210,7 +210,7 @@ If you do not specify any of these, the binding will use the default which shoul
|
|||||||
| `ipWhitelist`| Enter any IPs inside brackets that you wish to allow to access the video stream. `DISABLE` the default value will turn this feature off. Example: `ipWhitelist="(127.0.0.1)(192.168.0.99)"` |
|
| `ipWhitelist`| Enter any IPs inside brackets that you wish to allow to access the video stream. `DISABLE` the default value will turn this feature off. Example: `ipWhitelist="(127.0.0.1)(192.168.0.99)"` |
|
||||||
| `ptzContinuous`| If set to false (default) the camera will move using Relative commands, If set to true the camera will instead use continuous movements and will require an `OFF` command to stop the movement. |
|
| `ptzContinuous`| If set to false (default) the camera will move using Relative commands, If set to true the camera will instead use continuous movements and will require an `OFF` command to stop the movement. |
|
||||||
| `onvifEventServiceType`| ONVIF event method to use. If camera does not report event capabilities, the event method can be forced here. |
|
| `onvifEventServiceType`| ONVIF event method to use. If camera does not report event capabilities, the event method can be forced here. |
|
||||||
| | `0` - Auto detect event capabilities. (Default) ONVIF event capabilities are detected automatically. PullMessages is prefered over WSBaseNotification because there is no way to determine if an WSBaseNotification subscription exists on startup. |
|
| | `0` - Auto detect event capabilities. (Default) ONVIF event capabilities are detected automatically. PullMessages is preferred over WSBaseNotification because there is no way to determine if an WSBaseNotification subscription exists on startup. |
|
||||||
| | `1` - ONVIF events disabled. |
|
| | `1` - ONVIF events disabled. |
|
||||||
| | `2` - Force ONVIF PullMessages event method even if the camera does not claim to support this. |
|
| | `2` - Force ONVIF PullMessages event method even if the camera does not claim to support this. |
|
||||||
| | `3` - Force ONVIF WSBaseSubscription event method even if the camera does not claim to support this. |
|
| | `3` - Force ONVIF WSBaseSubscription event method even if the camera does not claim to support this. |
|
||||||
|
@ -417,7 +417,7 @@ public class RRMapDraw {
|
|||||||
g2d.drawString(message, textPos, height - offset * scale - stringHeight / 2);
|
g2d.drawString(message, textPos, height - offset * scale - stringHeight / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
private @Nullable String getAvailableFont(String[] preferedFonts) {
|
private @Nullable String getAvailableFont(String[] preferredFonts) {
|
||||||
final GraphicsEnvironment gEv = GraphicsEnvironment.getLocalGraphicsEnvironment();
|
final GraphicsEnvironment gEv = GraphicsEnvironment.getLocalGraphicsEnvironment();
|
||||||
if (gEv == null) {
|
if (gEv == null) {
|
||||||
return null;
|
return null;
|
||||||
@ -426,10 +426,10 @@ public class RRMapDraw {
|
|||||||
if (fonts.length == 0) {
|
if (fonts.length == 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
for (int j = 0; j < preferedFonts.length; j++) {
|
for (int j = 0; j < preferredFonts.length; j++) {
|
||||||
for (int i = 0; i < fonts.length; i++) {
|
for (int i = 0; i < fonts.length; i++) {
|
||||||
if (fonts[i].equalsIgnoreCase(preferedFonts[j])) {
|
if (fonts[i].equalsIgnoreCase(preferredFonts[j])) {
|
||||||
return preferedFonts[j];
|
return preferredFonts[j];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -137,7 +137,7 @@ Dimmer Light_LivingroomC {channel="milight:whiteLed:ACCF23A6C0B4:1:ledtemperatur
|
|||||||
Dimmer RGBW_LivingroomB {channel="milight:rgbwLed:ACCF23A6C0B4:2:ledbrightness"} //Dimmer changing brightness for RGBW bulb in zone 2
|
Dimmer RGBW_LivingroomB {channel="milight:rgbwLed:ACCF23A6C0B4:2:ledbrightness"} //Dimmer changing brightness for RGBW bulb in zone 2
|
||||||
Color Light_Party {channel="milight:rgbwLed:ACCF23A6C0B4:1:ledcolor"} //Colorpicker for rgb bulbs
|
Color Light_Party {channel="milight:rgbwLed:ACCF23A6C0B4:1:ledcolor"} //Colorpicker for rgb bulbs
|
||||||
|
|
||||||
# You have to link the items to the channels of your prefered group.
|
# You have to link the items to the channels of your preferred group.
|
||||||
|
|
||||||
//The command types nightMode and whiteMode are stateless and should be configured as pushbuttons as they only support a trigger action:
|
//The command types nightMode and whiteMode are stateless and should be configured as pushbuttons as they only support a trigger action:
|
||||||
Switch Light_GroundfloorN {channel="milight:whiteLed:ACCF23A6C0B4:0:lednightmode", autoupdate="false"} //Activate the NightMode for all bulbs
|
Switch Light_GroundfloorN {channel="milight:whiteLed:ACCF23A6C0B4:0:lednightmode", autoupdate="false"} //Activate the NightMode for all bulbs
|
||||||
|
Loading…
Reference in New Issue
Block a user