deviceName
A human-readable name for the device.
Declaration
var deviceName: String { get }Discussion
Set a String value that meets these criteria:
Less than or equal to 250
UTF-16charactersContains only alphanumeric, whitespace, punctuation, or symbol characters.
Isn’t the empty String
The EnergyKit framework alters the value to abide by these rules, if necessary.
The Home app incorporates the device by this name when you adopt the EnergyKit LoadEvents Entitlement.