mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
Updated ConfigurationStructure (markdown)
@@ -139,7 +139,7 @@ Some additional details about specific properties that are important to note:
|
||||
|
||||
* "key": This value needs to be unique in the array of devices objects
|
||||
* "uid": This value also needs to be unique for reasons related to configuration tools and template/system merging
|
||||
* "type": Think of this as a way to identify what specific module you might associate with this device. In Essentials, this value is used to determine what class will be instantiated for the device (ex. "necUniversal" or "samsungMdc" for two types of displays)
|
||||
* "type": Think of this as a way to identify what specific module you might associate with this device. In Essentials, this value is used to determine what class will be instantiated for the device (ex. "necmpsx" or "samsungMdc" for two types of displays)
|
||||
* "properties": This object is used to store both specific and miscellaneous data about the device.
|
||||
* Specific data, like that shown above in the "control" object has a pre-defined structure.
|
||||
* Other data must be stored as objects or new properties inside the "properties" object such as "someCustomProperty" in the example above.
|
||||
|
||||
Reference in New Issue
Block a user