]> git.basschouten.com Git - openhab-addons.git/commitdiff
Fixed SAT findings for new SAT 0.11.1 release (#10518)
authorChristoph Weitkamp <github@christophweitkamp.de>
Wed, 14 Apr 2021 13:11:31 +0000 (15:11 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Apr 2021 13:11:31 +0000 (15:11 +0200)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
28 files changed:
bundles/org.openhab.binding.bluetooth.enoceanble/README.md
bundles/org.openhab.binding.bluetooth/README.md
bundles/org.openhab.binding.caddx/README.md
bundles/org.openhab.binding.chromecast/README.md
bundles/org.openhab.binding.chromecast/src/main/java/org/openhab/binding/chromecast/internal/action/ChromecastActions.java
bundles/org.openhab.binding.chromecast/src/main/java/org/openhab/binding/chromecast/internal/discovery/ChromecastDiscoveryParticipant.java
bundles/org.openhab.binding.chromecast/src/main/resources/OH-INF/i18n/chromecast.properties
bundles/org.openhab.binding.danfossairunit/README.md
bundles/org.openhab.binding.danfossairunit/src/main/java/org/openhab/binding/danfossairunit/internal/discovery/DanfossAirUnitDiscoveryService.java
bundles/org.openhab.binding.haywardomnilogic/src/main/feature/feature.xml [new file with mode: 0644]
bundles/org.openhab.binding.magentatv/README.md
bundles/org.openhab.binding.magentatv/src/main/java/org/openhab/binding/magentatv/internal/MagentaTVDeviceManager.java
bundles/org.openhab.binding.magentatv/src/main/java/org/openhab/binding/magentatv/internal/network/MagentaTVOAuth.java
bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/i18n/magentatv_de.properties
bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/thing/thing-types.xml
bundles/org.openhab.binding.miio/README.md
bundles/org.openhab.binding.paradoxalarm/README.md
bundles/org.openhab.binding.senechome/README.md
bundles/org.openhab.binding.somfymylink/README.md
bundles/org.openhab.binding.somfymylink/src/main/java/org/openhab/binding/somfymylink/internal/handler/SomfyMyLinkBridgeHandler.java
bundles/org.openhab.binding.telegram/README.md
bundles/org.openhab.binding.wifiled/README.md
bundles/org.openhab.binding.wifiled/src/main/java/org/openhab/binding/wifiled/internal/handler/WiFiLEDHandler.java
bundles/org.openhab.io.homekit/README.md
bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitAccessoryFactory.java
bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitCharacteristicFactory.java
bundles/org.openhab.persistence.dynamodb/README.md
bundles/org.openhab.persistence.mongodb/README.md

index 02f6514fd8cc601fd81d03850eb294cbdfbae766..96998df8ff66e025266d32411e386a5cc3bf044f 100644 (file)
@@ -57,4 +57,4 @@ demo.items:
 ```
 Dimmer Light_LivingRoom  { channel="milight:rgbLed:milight2:4:ledbrightness", channel="bluetooth:ptm215b:bluegiga0:rocker_livingroom:rocker1" [profile="rawrocker-to-on-off"], channel="bluetooth:ptm215b:bluegiga0:rocker_kitchen:rocker1" [profile="rawrocker-to-on-off"] }  // We have a combined kitchen / livingroom, so we control the living room lights with switches from the living room and from the kitchen
 Switch Light_Kitchen    { channel="hue:group:1:kitchen-bulbs:switch", channel="bluetooth:ptm215b:bluegiga0:rocker_kitchen:rocker2" [profile="rawrocker-to-on-off"] } 
-```
\ No newline at end of file
+```
index 51360c4e54526e72e97007b3c03d94e792917e81..67733cc81f46cf23bfc57c579452487c4821d7c2 100644 (file)
@@ -72,4 +72,4 @@ sitemap demo label="Main Menu"
 
 See also the following extensions for further examples:
 
-<!--list-subs-->
\ No newline at end of file
+<!--list-subs-->
index 6c222a57415e679fd8cbcb652d98c53da4f4a67c..df46713c9e722742b887106becea192da3e3c9a8 100644 (file)
@@ -347,4 +347,4 @@ then
     
     actions.bypass()
 end
-```
\ No newline at end of file
+```
index 35d3185bad52bb7c222403c8e1dd84adba70bac0..bd9c26b7528bd1ec826a4f49365d4e64f1090863 100644 (file)
@@ -159,4 +159,4 @@ val castActions = getActions("chromecast","chromecast:chromecast:29fcf535da")
 val success  = castActions.playURL("http://192.168.1.160:81/mjpg/front1/video.mjpg")
 val success2 = castActions.playURL("http://192.168.1.160:81/mjpg/front1/video.mjpg", "image/jpeg")
 
-```
\ No newline at end of file
+```
index ba7e07aae530592180c47b726e581b85394b501d..deda63ed5049a29b5ae362dceed568b72b8732e6 100644 (file)
@@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory;
 /**
  * The {@link ChromecastActions} class defines rule actions for playing URLs
  *
- * @author Scott Hanson - Added Actions
+ * @author Scott Hanson - Initial contribution
  */
 @ThingActionsScope(name = "chromecast")
 @NonNullByDefault
index 55364d224d050f955468888059da825867442ffd..2475b6578fff5686c2a63b8edb57d55172602710 100644 (file)
@@ -86,12 +86,13 @@ public class ChromecastDiscoveryParticipant implements MDNSDiscoveryParticipant
         if (model == null) {
             return null;
         }
-        if (model.equals("Chromecast Audio")) {
-            return THING_TYPE_AUDIO;
-        } else if (model.equals("Google Cast Group")) {
-            return THING_TYPE_AUDIOGROUP;
-        } else {
-            return THING_TYPE_CHROMECAST;
+        switch (model) {
+            case "Chromecast Audio":
+                return THING_TYPE_AUDIO;
+            case "Google Cast Group":
+                return THING_TYPE_AUDIOGROUP;
+            default:
+                return THING_TYPE_CHROMECAST;
         }
     }
 
index a6cb3a91f7bafce44bdb44ed1de5ca836f58f156..8fc71c6c97d6bcb664d21cbafe009b960be615c4 100644 (file)
@@ -3,4 +3,4 @@ playURLActionLabel = play a URL
 playURLActionDescription = Plays a URL.
 
 playURLTypeActionLabel = play a URL with a media type
-playURLTypeActionDescription = Plays a URL with a defined media type attribute.
\ No newline at end of file
+playURLTypeActionDescription = Plays a URL with a defined media type attribute.
index 5ec59603fbcbb327ee5a6ebbd173d8fc46e904a3..03f77b16286ba25b171d165b8afeee4813fa5a70 100644 (file)
@@ -52,7 +52,8 @@ The channel will then be identified by `<air unit id>:<channel group>#<channel>`
 
 You can also manually configure your air unit in case you don't want to use autodiscovery
  (e. g. if you want to have a portable configuration):
-Create a new file, e. g. `danfoss.things`, in your _things_ configuration folder: 
+Create a new file, e. g. `danfoss.things`, in your _things_ configuration folder:
+
 ```
 Thing danfossairunit:airunit:myairunit [host="192.168.0.7",
 refreshInterval=5,
@@ -79,4 +80,4 @@ Text item=Lueftung_Drehzahl_Extract
 Selection item=Lueftung_Mode mappings=[DEMAND="Bedarfslüftung", OFF="Aus", PROGRAM="Programm", MANUAL="manuell"]
 Switch item=Lueftung_Boost
 Switch item=Lueftung_Bypass
-```
\ No newline at end of file
+```
index 92e5079c9c12062eee7c2debbff23f9b0dc84587..2570d63444ff89772a3dbb07bc8379ff26e97665 100644 (file)
@@ -21,7 +21,11 @@ import java.net.InetAddress;
 import java.net.InterfaceAddress;
 import java.net.NetworkInterface;
 import java.net.SocketTimeoutException;
-import java.util.*;
+import java.util.Arrays;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
 
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.openhab.core.config.discovery.AbstractDiscoveryService;
diff --git a/bundles/org.openhab.binding.haywardomnilogic/src/main/feature/feature.xml b/bundles/org.openhab.binding.haywardomnilogic/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..463c80c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<features name="org.openhab.binding.haywardomnilogic-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
+       <repository>mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${ohc.version}/xml/features</repository>
+
+       <feature name="openhab-binding-haywardomnilogic" description="Hayward OmniLogic Binding" version="${project.version}">
+               <feature>openhab-runtime-base</feature>
+               <bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.haywardomnilogic/${project.version}</bundle>
+       </feature>
+</features>
index ddfcf61040014268ac49f23a6b02378634a92983..1fb23f8591b02dc4d858bab6ca273d6a7109abc1 100644 (file)
@@ -130,6 +130,7 @@ Please note:
 The binding tries to detect and maintain the correct state, but due to device limitations this is not always possible.
 Make sure the receiver's and binding's state are in sync when OH is restarted (binding assumes state is OFF).
 - Channels receiving event information get updated when changing the channel or playing a video.
+
 There is no way to read the current status, therefore they don't get initialized on startup nor being updated in real-time.
 
 The player channel supports the following actions:
@@ -327,4 +328,4 @@ to switch it ON and
 
 to switch it off.
 
-After an openHAB restart you need to make sure that OH and receiver are in sync, because the binding can't read the power status at startup.
\ No newline at end of file
+After an openHAB restart you need to make sure that OH and receiver are in sync, because the binding can't read the power status at startup.
index 29c9cced08630e13b64e6677478f6f2b22ea3aee..e9c0073b66d1e9e2771a1a64989504a9ea208c90 100644 (file)
@@ -139,7 +139,7 @@ public class MagentaTVDeviceManager {
             MagentaTVDevice dev = deviceList.get(udn.toUpperCase());
             return dev.properties;
         }
-        if (deviceList.size() > 0) {
+        if (!deviceList.isEmpty()) {
             logger.debug("getDiscoveredProperties(): Unknown UDN: {}", udn);
         }
         return null;
index a6b6539ba6248d95668ce534ffdd5d27aed34f95..3b020d7eb7239b4bf59ecc73768234bacf2843d0 100755 (executable)
@@ -222,7 +222,7 @@ public class MagentaTVOAuth {
             if (method.equals(HttpMethod.POST)) {
                 fillPostData(request, data);
             }
-            if (cookies.size() > 0) {
+            if (!cookies.isEmpty()) {
                 // Add cookies
                 String cookieValue = "";
                 for (HttpCookie c : cookies) {
index 14734cd785591df89add8d13adfba7dbe609d464..78b388dc45f2880334538f6941eee34e70db3c14 100644 (file)
@@ -104,4 +104,3 @@ channel-type.magentatv.key.command.option.SWITCH = IPTV/DVB
 channel-type.magentatv.key.command.option.IPTV = IPTV
 channel-type.magentatv.key.command.option.PIP = PIP
 channel-type.magentatv.key.command.option.MULTIVIEW = Multi View
-                
\ No newline at end of file
index 96e6cfeff2ca36857c240051138efd69bde59b57..6db7dc461ab214e9eb7497c992c7d824b8cce3d2 100755 (executable)
@@ -22,7 +22,7 @@
 
                <representation-property>macAddress</representation-property>
 
-               <config-description uri="thing-type:magentatv:receiver">
+               <config-description>
                        <parameter name="ipAddress" type="text" required="true">
                                <label>Device IP Address</label>
                                <description>IP address of the receiver</description>
index b280c4433323c80e3cb81ca739a4248a20bc5ef6..6f2ed2fd5e9c7ef699f8578861301158cfed6794 100644 (file)
@@ -10371,4 +10371,4 @@ Mapping of countries in mihome app to server:
 | Yemen                    | YE           | sg     |
 | Zambia                   | ZM           | sg     |
 | Zimbabwe                 | ZW           | sg     |
-| Åland Islands            | AX           | de     |
\ No newline at end of file
+| Åland Islands            | AX           | de     |
index a866bbbd1ddbc5d2cb6ee89c8ba04301ff1aca14..0eccb050c472f373c8faf25343dad9fa4f4d09e0 100644 (file)
@@ -47,6 +47,7 @@ Currently binding supports the following panels: EVO192, EVO48(not tested), EVO9
 |communicationState   | Shows the communication status to Paradox. Different from Bridge status. Bridge may be online and able to receive commands but communication may be offline due to various reasons. Possible values [Offline, Online] |
 
 #### Communication command channel allowed values
+
 | Value  | Description                                                                        |
 |--------|------------------------------------------------------------------------------------|
 | LOGOUT | Logs out and disconnects from Paradox alarm system                                 |
@@ -61,6 +62,7 @@ Currently binding supports the following panels: EVO192, EVO48(not tested), EVO9
 | disarmEnabled     | Optional boolean flag. Valid for partitions. When set to true the command DISARM will be allowed for the partition where the flag is enabled. CAUTION: Enabling DISARM command can be dangerous. If attacker can gain access to your openHAB (via API or UI), this command can be used to disarm your armed partition (area) |
 
 ### Panel channels:
+
 | Channel                  | Type                       | Description                                                                               |
 |--------------------------|----------------------------|-------------------------------------------------------------------------------------------|
 | state                    | String                     | Overall panel state                                                                       |
@@ -174,11 +176,13 @@ Currently binding supports the following panels: EVO192, EVO48(not tested), EVO9
         }
     }
 ```
+
 ## Acknowledgements
+
 This binding would not be possible without the reverse engineering of the byte level protocol and the development by other authors in python, C# and other languages. Many thanks to the following authors and their respective GitHub repositories for their development that helped in creating this binding:
 
 João Paulo Barraca - https://github.com/ParadoxAlarmInterface/pai
 
 Jean Henning - repository not available
 
-Tertuish - https://github.com/Tertiush/ParadoxIP150v2 / https://github.com/Tertiush/ParadoxIP150
\ No newline at end of file
+Tertuish - https://github.com/Tertiush/ParadoxIP150v2 / https://github.com/Tertiush/ParadoxIP150
index c76ed302680114c74f2b8248879dfc96e8952340..49fc88900a2427bed3ac991386c1e37d4ccfcfac 100644 (file)
@@ -127,4 +127,4 @@ Text label="Power Grid"{
         Default item=SenecLiveGridExport
     }
 }
-```
\ No newline at end of file
+```
index 2c334145e5e5dd6f81e06222578d6188e2f385ca..c4eaffee123d5b44adede1ce97cb424b994709c2 100644 (file)
@@ -56,4 +56,4 @@ The following channels are supported by the binding. Note that specific weather
 Bridge somfymylink:mylink:mylink1 "myLink Bridge" @ "Office" [ ipAddress="192.168.1.1", systemId="mysystemidhere" ] {
     Thing shade shade1 "Living Room" [ targetId="CC114A21.1" ]
 }
-```
\ No newline at end of file
+```
index 5563d177c4c0d57a389e30c159343e6e14bb409e..9ee234894b722c92ebf2d1ee78640faf0ba973ea 100644 (file)
@@ -12,7 +12,7 @@
  */
 package org.openhab.binding.somfymylink.internal.handler;
 
-import static org.openhab.binding.somfymylink.internal.SomfyMyLinkBindingConstants.*;
+import static org.openhab.binding.somfymylink.internal.SomfyMyLinkBindingConstants.CHANNEL_SCENES;
 
 import java.io.BufferedReader;
 import java.io.IOException;
@@ -23,7 +23,11 @@ import java.io.Writer;
 import java.net.Socket;
 import java.net.SocketTimeoutException;
 import java.nio.charset.StandardCharsets;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.List;
+import java.util.Objects;
 import java.util.concurrent.CompletableFuture;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.ExecutorService;
@@ -179,7 +183,6 @@ public class SomfyMyLinkBridgeHandler extends BaseBridgeHandler {
             SomfyMyLinkCommandShadePing command = new SomfyMyLinkCommandShadePing(config.systemId);
             sendCommandWithResponse(command, SomfyMyLinkPingResponse.class).get();
             updateStatus(ThingStatus.ONLINE);
-
         } catch (SomfyMyLinkException | InterruptedException | ExecutionException e) {
             logger.warn("Problem with mylink during heartbeat: {}", e.getMessage());
             updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, e.getMessage());
@@ -298,7 +301,6 @@ public class SomfyMyLinkBridgeHandler extends BaseBridgeHandler {
                         Writer out = new OutputStreamWriter(socket.getOutputStream(), StandardCharsets.US_ASCII);
                         BufferedReader in = new BufferedReader(
                                 new InputStreamReader(socket.getInputStream(), StandardCharsets.US_ASCII))) {
-
                     // send the command
                     logger.debug("Sending: {}", json);
                     out.write(json);
index 65775ad31ff55b51576b7a6719693eec8b3bb8f9..109a09f3246c8a02041235f25f97bcd12c12fc8c 100644 (file)
@@ -346,4 +346,4 @@ then
         telegramAction.sendTelegramAnswer(telegramReplyId.state.toString, "Ok, I'll leave them *on*.")
     }
 end
-```
\ No newline at end of file
+```
index d0fa8096260119459c8934694702e7e4f1bfff09..104daffa304a3428a2b45a9c16f94098570cb12f 100644 (file)
@@ -364,4 +364,4 @@ then
        LED_1_program.sendCommand(99)
        LED_1_preset_23.sendCommand(OFF)
 end
-```
\ No newline at end of file
+```
index 2eb1bbcaa68c7ec11a20cc28b62e3ed49172ad00..48fd3afdbbb15fe95768a7e5b10b2925659f7d4a 100644 (file)
@@ -20,7 +20,11 @@ import org.openhab.binding.wifiled.internal.WiFiLEDBindingConstants;
 import org.openhab.binding.wifiled.internal.configuration.WiFiLEDConfig;
 import org.openhab.binding.wifiled.internal.handler.AbstractWiFiLEDDriver.Driver;
 import org.openhab.binding.wifiled.internal.handler.AbstractWiFiLEDDriver.Protocol;
-import org.openhab.core.library.types.*;
+import org.openhab.core.library.types.HSBType;
+import org.openhab.core.library.types.IncreaseDecreaseType;
+import org.openhab.core.library.types.OnOffType;
+import org.openhab.core.library.types.PercentType;
+import org.openhab.core.library.types.StringType;
 import org.openhab.core.thing.ChannelUID;
 import org.openhab.core.thing.Thing;
 import org.openhab.core.thing.ThingStatus;
index 50bc0da43020e8e8cda1b75fb8c480a6bc02ae93..12a7069ae19adc4ac6651f1da68e0fe0b1b8459c 100644 (file)
@@ -718,6 +718,7 @@ String                      cooler_target_mode          "Cooler Target Mode"                                (gCooler)
 Number                         cooler_cool_thrs                "Cooler Cool Threshold Temp [%.1f C]"   (gCooler)           {homekit="CoolingThresholdTemperature" [minValue=10.5, maxValue=50]}
 Number                         cooler_heat_thrs                "Cooler Heat Threshold Temp [%.1f C]"   (gCooler)           {homekit="HeatingThresholdTemperature" [minValue=0.5, maxValue=20]}
 ```
+
 ## Additional Notes
 
 HomeKit allows only a single pairing to be established with the bridge.
@@ -753,6 +754,7 @@ openhab> log:tail io.github.hapjava
 ## Troubleshooting 
 
 ### openHAB is not listed in home app
+
 if you don't see openHAB in the home app, probably multicast DNS (mDNS) traffic is not routed correctly from openHAB to home app device or openHAB is already in paired state. 
 You can verify this with [Discovery DNS iOS app](https://apps.apple.com/us/app/discovery-dns-sd-browser/id305441017) as follow: 
 
@@ -774,4 +776,4 @@ You can verify this with [Discovery DNS iOS app](https://apps.apple.com/us/app/d
 - verify the flag "sf". 
   - if sf is equal 1, openHAB is accepting pairing from new iOS device. 
   - if sf is equal 0 (as on screenshot), openHAB is already paired and does not accept any new pairing request. you can reset pairing using `openhab:homekit clearPairings` command in karaf console.
-- if you see openHAB bridge and sf is equal 1 but you dont see openHAB in home app, probably you home app still think it is already paired with openHAB. remove your home from home app and restart iOS device. 
\ No newline at end of file
+- if you see openHAB bridge and sf is equal 1 but you dont see openHAB in home app, probably you home app still think it is already paired with openHAB. remove your home from home app and restart iOS device.
index 2c55a83add5c7be8d7f67b17b6091305ad9573d0..ac47063d172ac2cd33152f11078fd65f071d3a0f 100644 (file)
@@ -16,9 +16,16 @@ import static org.openhab.io.homekit.internal.HomekitAccessoryType.*;
 import static org.openhab.io.homekit.internal.HomekitCharacteristicType.*;
 
 import java.lang.reflect.InvocationTargetException;
-import java.util.*;
 import java.util.AbstractMap.SimpleEntry;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
 import java.util.Map.Entry;
+import java.util.Objects;
+import java.util.Optional;
 import java.util.stream.Collectors;
 import java.util.stream.Stream;
 
@@ -124,7 +131,7 @@ public class HomekitAccessoryFactory {
 
     /**
      * creates HomeKit accessory for a openhab item.
-     * 
+     *
      * @param taggedItem openhab item tagged as HomeKit item
      * @param metadataRegistry openhab metadata registry required to get item meta information
      * @param updater OH HomeKit update class that ensure the status sync between OH item and corresponding HomeKit
@@ -171,7 +178,7 @@ public class HomekitAccessoryFactory {
 
     /**
      * return HomeKit accessory types for a OH item based on meta data
-     * 
+     *
      * @param item OH item
      * @param metadataRegistry meta data registry
      * @return list of HomeKit accessory types and characteristics.
@@ -210,7 +217,7 @@ public class HomekitAccessoryFactory {
 
     /**
      * return list of HomeKit relevant groups linked to an accessory
-     * 
+     *
      * @param item OH item
      * @param itemRegistry item registry
      * @param metadataRegistry metadata registry
@@ -231,7 +238,7 @@ public class HomekitAccessoryFactory {
     /**
      * collect all mandatory characteristics for a given tagged item, e.g. collect all mandatory HomeKit items from a
      * GroupItem
-     * 
+     *
      * @param taggedItem HomeKit tagged item
      * @param metadataRegistry meta data registry
      * @return list of mandatory
@@ -341,7 +348,7 @@ public class HomekitAccessoryFactory {
 
     /**
      * collect optional HomeKit characteristics for a OH item.
-     * 
+     *
      * @param taggedItem main OH item
      * @param metadataRegistry OH metadata registry
      * @return a map with characteristics and corresponding OH items
@@ -368,7 +375,7 @@ public class HomekitAccessoryFactory {
 
     /**
      * return true is characteristic is a mandatory characteristic for the accessory.
-     * 
+     *
      * @param accessory accessory
      * @param characteristic characteristic
      * @return true if characteristic is mandatory, false if not mandatory
@@ -381,7 +388,7 @@ public class HomekitAccessoryFactory {
 
     /**
      * check whether accessory is root accessory, i.e. without characteristic tag.
-     * 
+     *
      * @param accessory accessory
      * @return true if accessory has not characteristic.
      */
index 4cbeb311fe32488f3a0ec74905d6d856ed3cfd53..3c860c96a9541d2261b4c0b9a78ad380b4e3afca 100644 (file)
@@ -69,7 +69,17 @@ import io.github.hapjava.characteristics.impl.common.StatusFaultCharacteristic;
 import io.github.hapjava.characteristics.impl.common.StatusFaultEnum;
 import io.github.hapjava.characteristics.impl.common.StatusTamperedCharacteristic;
 import io.github.hapjava.characteristics.impl.common.StatusTamperedEnum;
-import io.github.hapjava.characteristics.impl.fan.*;
+import io.github.hapjava.characteristics.impl.fan.CurrentFanStateCharacteristic;
+import io.github.hapjava.characteristics.impl.fan.CurrentFanStateEnum;
+import io.github.hapjava.characteristics.impl.fan.LockPhysicalControlsCharacteristic;
+import io.github.hapjava.characteristics.impl.fan.LockPhysicalControlsEnum;
+import io.github.hapjava.characteristics.impl.fan.RotationDirectionCharacteristic;
+import io.github.hapjava.characteristics.impl.fan.RotationDirectionEnum;
+import io.github.hapjava.characteristics.impl.fan.RotationSpeedCharacteristic;
+import io.github.hapjava.characteristics.impl.fan.SwingModeCharacteristic;
+import io.github.hapjava.characteristics.impl.fan.SwingModeEnum;
+import io.github.hapjava.characteristics.impl.fan.TargetFanStateCharacteristic;
+import io.github.hapjava.characteristics.impl.fan.TargetFanStateEnum;
 import io.github.hapjava.characteristics.impl.lightbulb.BrightnessCharacteristic;
 import io.github.hapjava.characteristics.impl.lightbulb.ColorTemperatureCharacteristic;
 import io.github.hapjava.characteristics.impl.lightbulb.HueCharacteristic;
index c002ffb3bb41749242df5e9cecb74ab4dd84c8bf..039f2928749ac3dad9da7e755178da1977a9a351 100644 (file)
@@ -18,6 +18,7 @@ This service is provided "AS IS", and the user takes full responsibility of any
 {::options toc_levels="2..4"/}
 
 - TOC
+
 {:toc}
 
 ## Prerequisites
@@ -175,4 +176,4 @@ Eclipse instructions
 -DDYNAMODBTEST_REGION=REGION-ID
 -DDYNAMODBTEST_ACCESS=ACCESS-KEY
 -DDYNAMODBTEST_SECRET=SECRET
-````
\ No newline at end of file
+````
index 51a352d26a0b0ff1526187bfd93c106e4a94177f..4e07be4cd2d1977042b76203312068eb430f2a7c 100644 (file)
@@ -16,4 +16,4 @@ This service can be configured in the file `services/mongodb.cfg`.
 If you have a username and password it looks like this: url = mongodb://[username]:[password]@[localhost]:27017/[database]
 The database is required: http://mongodb.github.io/mongo-java-driver/3.9/javadoc/com/mongodb/MongoClientURI.html
 
-All item and event related configuration is done in the file `persistence/mongodb.persist`.
\ No newline at end of file
+All item and event related configuration is done in the file `persistence/mongodb.persist`.