Update Reference.md

This commit is contained in:
HomeSpan 2022-01-05 17:25:28 -06:00 committed by GitHub
parent 22de894f92
commit 738dce3ad3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -349,6 +349,8 @@ new Service::LightBulb();
Note that Custom Characteristics must be created prior to calling `homeSpan.begin()`
> Advanced Tip: When presented with an unrecognized Custom Characteristic, Eve for HomeKit helpfully displays a *generic control* allowing you to interact with any Custom Characteristic you create in HomeSpan. However, since Eve does not recognize the Characteristic, it will only render the generic control if the Characteristic includes a **description** field, which you can add to any Characteristic using the `setDescription()` method described above. You may also want to use `setUnits()` and `setRange()` so that the Eve App displays a control with appropriate ranges for your Custom Characteristic.
---
#### Deprecated functions (available for backwards compatibility with older sketches):