User as returned by HomeyAPIV2.ManagerUsers.
Extends
Instance Properties
asleep
asleep: booleanType
- boolean
athomId
athomId: stringType
- string
avatar
avatar: string|nullType
- string | null
enabled
enabled: booleanType
- boolean
enabledUntil
enabledUntil: string|nullType
- string | null
id
id: stringType
- string
inviteUrl
inviteUrl: string|nullType
- string | null
localUsername
localUsername: string|nullType
- string | null
name
name: stringType
- string
present
present: booleanType
- boolean
properties
properties: objectType
- object
role
role: stringType
- string
verified
verified: booleanType
- boolean
Events
delete
.on('delete')update
.on('update')Parameters
| Name | Type | Description |
|---|---|---|
user
|
object | |
info
|
object | |
newValues
|
object | An object with only the new values of the user |
oldValues
|
object | An object with only the old values of the user |
changedKeys
|
Array.<string> | An array of keys of the properties that have changed |
|
|