]> git.basschouten.com Git - openhab-addons.git/commitdiff
Make spacing consistent (#11145)
authorOneYellowLemon <66096725+OneYellowLemon@users.noreply.github.com>
Mon, 23 Aug 2021 19:51:40 +0000 (15:51 -0400)
committerGitHub <noreply@github.com>
Mon, 23 Aug 2021 19:51:40 +0000 (21:51 +0200)
Signed-off-by: OneYellowLemon <66096725+OneYellowLemon@users.noreply.github.com>
bundles/org.openhab.binding.icloud/README.md

index 9b87344857d10c878bd41233fd077b0fb11653d2..2a6a09e0cbac6b3f903d1b012b5519145a23217e 100644 (file)
@@ -116,7 +116,7 @@ then
     val PointType phone_location = iPhone_Location.state as PointType
     val int distance = phone_location.distanceFrom(home_location).intValue()
     // specify your preferred radius (in meters)
-    if ( distance < 200) {
+    if (distance < 200) {
         iPhone_Home.postUpdate(ON)
         logInfo("iPhone Home", "iPhone is at home.")
     } else {