Skip to content

Commit 9e4985b

Browse files
author
Eugen Freiter
committed
add irrigation system, clean up javadocs
Signed-off-by: Eugen Freiter <freiter@gmx.de>
1 parent 8d692a1 commit 9e4985b

File tree

152 files changed

+414
-566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+414
-566
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Supported HomeKit Accessories
2424
=========
2525

2626
Current implementation is based on HAP specification Release R2 (published 2019-07-26) and
27-
fully supports 36 out of 45 HomeKit accessory services defined there.
27+
fully supports 37 out of 45 HomeKit accessory services defined there.
2828

2929
| HomeKit Accessory & Service type | Supported by Java-HAP |
3030
|--------------------|--------------------|
@@ -48,7 +48,7 @@ fully supports 36 out of 45 HomeKit accessory services defined there.
4848
| Heater Cooler | :white_check_mark: |
4949
| Humidifier Dehumidifier | :white_check_mark: |
5050
| Humidity Sensor | :white_check_mark: |
51-
| Irrigation System | :x: |
51+
| Irrigation System | :white_check_mark: |
5252
| Leak Sensor | :white_check_mark: |
5353
| Light Bulb | :white_check_mark: |
5454
| Light Sensor | :white_check_mark: |

src/main/java/io/github/hapjava/accessories/AirPurifierAccessory.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@
99
import java.util.Collections;
1010
import java.util.concurrent.CompletableFuture;
1111

12-
/**
13-
* An air purifier.
14-
*
15-
* @author Eugen Freiter
16-
*/
12+
/** An air purifier. */
1713
public interface AirPurifierAccessory extends HomekitAccessory {
1814
/**
1915
* Mandatory: Retrieves the current active state of the fan'.

src/main/java/io/github/hapjava/accessories/AirQualityAccessory.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88
import java.util.Collections;
99
import java.util.concurrent.CompletableFuture;
1010

11-
/**
12-
* An air quality accessory which can include several sensors.
13-
*
14-
* @author Eugen Freiter
15-
*/
11+
/** An air quality accessory which can include several sensors. */
1612
public interface AirQualityAccessory extends HomekitAccessory {
1713

1814
/**

src/main/java/io/github/hapjava/accessories/Bridge.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package io.github.hapjava.accessories;
22

3+
/** HomeKit bridge service. */
34
public interface Bridge extends HomekitAccessory {
45

56
@Override

src/main/java/io/github/hapjava/accessories/CarbonDioxideSensorAccessory.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,7 @@
88
import java.util.Collections;
99
import java.util.concurrent.CompletableFuture;
1010

11-
/**
12-
* A carbon dioxide sensor reports whether carbon dioxide has been detected or not.
13-
*
14-
* <p>Carbon dioxide sensors that run on batteries will need to implement this interface and also
15-
* implement {@link BatteryAccessory}.
16-
*
17-
* @author Eugen Freiter
18-
*/
11+
/** A carbon dioxide sensor reports carbon dioxide level. */
1912
public interface CarbonDioxideSensorAccessory extends HomekitAccessory {
2013

2114
/**

src/main/java/io/github/hapjava/accessories/CarbonMonoxideSensorAccessory.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
/**
1212
* A carbon monoxide sensor reports whether carbon monoxide has been detected or not.
1313
*
14-
* <p>Carbon monoxide sensors that run on batteries will need to implement this interface and also
15-
* implement {@link BatteryAccessory}.
16-
*
1714
* @author Gaston Dombiak
1815
*/
1916
public interface CarbonMonoxideSensorAccessory extends HomekitAccessory {

src/main/java/io/github/hapjava/accessories/ContactSensorAccessory.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
* A contact sensor that reports whether contact is detected or not. Typical contact sensors are
1313
* window/door sensors. When contact is detected it means that the door/window is closed.
1414
*
15-
* <p>Contact sensors that run on batteries will need to implement this interface and also implement
16-
* {@link BatteryAccessory}.
17-
*
1815
* @author Gaston Dombiak
1916
*/
2017
public interface ContactSensorAccessory extends HomekitAccessory {

src/main/java/io/github/hapjava/accessories/DoorAccessory.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88
import java.util.Collections;
99
import java.util.concurrent.CompletableFuture;
1010

11-
/**
12-
* A door with status
13-
*
14-
* @author Eugen Freiter
15-
*/
11+
/** A motorized door with current and target position. */
1612
public interface DoorAccessory extends HomekitAccessory {
1713

1814
/**

src/main/java/io/github/hapjava/accessories/DoorbellAccessory.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88
import java.util.Collections;
99
import java.util.concurrent.CompletableFuture;
1010

11-
/**
12-
* The Doorbell accessory describes a doorbell.
13-
*
14-
* @author Eugen Freiter
15-
*/
11+
/** doorbell accessory with a switch (button push) event. */
1612
public interface DoorbellAccessory extends HomekitAccessory {
1713

1814
/**

src/main/java/io/github/hapjava/accessories/FanAccessory.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package io.github.hapjava.accessories;
22

3-
import io.github.hapjava.accessories.optionalcharacteristic.AccessoryWithFanState;
43
import io.github.hapjava.characteristics.HomekitCharacteristicChangeCallback;
54
import io.github.hapjava.services.Service;
65
import io.github.hapjava.services.impl.FanService;
@@ -9,8 +8,7 @@
98
import java.util.concurrent.CompletableFuture;
109

1110
/**
12-
* A fan with basic characteristics. User {@link AccessoryWithFanState} for Fan with more
13-
* characteristics.
11+
* A fan with mandatory characteristics.
1412
*
1513
* @author Andy Lintner
1614
*/

0 commit comments

Comments
 (0)