Update Overview.md

This commit is contained in:
HomeSpan 2021-01-04 07:12:24 -06:00 committed by GitHub
parent a21383b82f
commit 6e26524199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ You create a new HAP Accessory by instantiating a new `SpanAccessory` object as
new SpanAccessory(); new SpanAccessory();
``` ```
SpanAccessory takes no paramaters, and you do not need to save the object in a variable since HomeSpan automatically registers the Accessory inside the homespan object. SpanAccessory can be instantiated without any parameters, and you do not need to save the object in a variable since HomeSpan automatically registers the Accessory inside the `homespan` object.
Once a HAP Accessory is created, you can then start adding HAP Services and HAP Characteristics by instantiating HomeSpan Service and Characteristic objects. Every HAP Service supported by HomeSpan is defined in the `Service` namespace. Every HAP Characteristic supported by HomeSpan is defined in the `Characteristic` namespace. See [HomeSpan Services and Characteristics](ServiceList.md) for a complete list. Once a HAP Accessory is created, you can then start adding HAP Services and HAP Characteristics by instantiating HomeSpan Service and Characteristic objects. Every HAP Service supported by HomeSpan is defined in the `Service` namespace. Every HAP Characteristic supported by HomeSpan is defined in the `Characteristic` namespace. See [HomeSpan Services and Characteristics](ServiceList.md) for a complete list.