Notification

Notification as returned by HomeyAPIV2.ManagerNotifications.

Extends

Instance Properties

dateCreated

dateCreated: object

Type

  • object

dateExpires

dateExpires: string

Type

  • string

excerpt

excerpt: string

Type

  • string

icon

icon: string

Type

  • string

iconObj

iconObj: object

Type

  • object

id

id: string

Type

  • string

meta

meta: object

Type

  • object

ownerName

ownerName: string

Type

  • string

ownerUri

ownerUri: string

Type

  • string

priority

priority: string

Type

  • string

readBy

readBy: array

Type

  • array

roles

roles: array

Type

  • array

Events

delete

.on('delete')

update

.on('update')

Parameters

Name Type Description
notification
object
info
object
newValues
object

An object with only the new values of the notification

oldValues
object

An object with only the old values of the notification

changedKeys
Array.<string>

An array of keys of the properties that have changed

}