1313import org .slf4j .LoggerFactory ;
1414
1515/**
16- * Provides advertising and handling for Homekit accessories. This class handles the advertising of
17- * Homekit accessories and contains one or more accessories. When implementing a bridge accessory,
16+ * Provides advertising and handling for HomeKit accessories. This class handles the advertising of
17+ * HomeKit accessories and contains one or more accessories. When implementing a bridge accessory,
1818 * you will interact with this class directly. Instantiate it via {@link
1919 * HomekitServer#createBridge(HomekitAuthInfo, String, String, String, String, String, String)}. For
2020 * single accessories, this is composed by {@link HomekitStandaloneAccessoryServer}.
@@ -54,7 +54,7 @@ public class HomekitRoot {
5454 }
5555
5656 /**
57- * Add an accessory to be handled and advertised by this root. Any existing Homekit connections
57+ * Add an accessory to be handled and advertised by this root. Any existing HomeKit connections
5858 * will be terminated to allow the clients to reconnect and see the updated accessory list. When
5959 * using this for a bridge, the ID of the accessory must be greater than 1, as that ID is reserved
6060 * for the Bridge itself.
@@ -77,33 +77,33 @@ public void addAccessory(HomekitAccessory accessory) {
7777 */
7878 void addAccessorySkipRangeCheck (HomekitAccessory accessory ) {
7979 this .registry .add (accessory );
80- logger .info ("Added accessory " + accessory .getName ());
80+ logger .trace ("Added accessory " + accessory .getName ());
8181 if (started ) {
8282 registry .reset ();
8383 webHandler .resetConnections ();
8484 }
8585 }
8686
8787 /**
88- * Removes an accessory from being handled or advertised by this root. Any existing Homekit
88+ * Removes an accessory from being handled or advertised by this root. Any existing HomeKit
8989 * connections will be terminated to allow the clients to reconnect and see the updated accessory
9090 * list.
9191 *
9292 * @param accessory accessory to cease advertising and handling
9393 */
9494 public void removeAccessory (HomekitAccessory accessory ) {
9595 this .registry .remove (accessory );
96- logger .info ("Removed accessory " + accessory .getName ());
96+ logger .trace ("Removed accessory " + accessory .getName ());
9797 if (started ) {
9898 registry .reset ();
9999 webHandler .resetConnections ();
100100 }
101101 }
102102
103103 /**
104- * Starts advertising and handling the previously added Homekit accessories. You should try to
104+ * Starts advertising and handling the previously added HomeKit accessories. You should try to
105105 * call this after you have used the {@link #addAccessory(HomekitAccessory)} method to add all the
106- * initial accessories you plan on advertising, as any later additions will cause the Homekit
106+ * initial accessories you plan on advertising, as any later additions will cause the HomeKit
107107 * clients to reconnect.
108108 */
109109 public void start () {
@@ -123,7 +123,7 @@ public void start() {
123123 });
124124 }
125125
126- /** Stops advertising and handling the Homekit accessories. */
126+ /** Stops advertising and handling the HomeKit accessories. */
127127 public void stop () {
128128 advertiser .stop ();
129129 webHandler .stop ();
0 commit comments