Preparing search index...
The search index is not available
zigbee-herdsman
zigbee-herdsman
controller/model/group
Group
Class Group
Hierarchy (
View Summary
)
Entity
Group
Index
Properties
groupID
meta
Accessors
members
Methods
add
Member
command
has
Member
read
remove
From
Database
remove
From
Network
remove
Member
save
write
all
all
Iterator
by
GroupID
create
inject
Adapter
inject
Database
reset
Cache
Properties
Readonly
groupID
groupID
:
number
Readonly
meta
meta
:
KeyValue
Accessors
members
get
members
()
:
Endpoint
[]
Returns
Endpoint
[]
Methods
add
Member
addMember
(
endpoint
:
Endpoint
)
:
void
Parameters
endpoint
:
Endpoint
Returns
void
command
command
(
clusterKey
:
string
|
number
,
commandKey
:
string
|
number
,
payload
:
KeyValue
,
options
?:
Options
,
)
:
Promise
<
void
>
Parameters
clusterKey
:
string
|
number
commandKey
:
string
|
number
payload
:
KeyValue
Optional
options
:
Options
Returns
Promise
<
void
>
has
Member
hasMember
(
endpoint
:
Endpoint
)
:
boolean
Parameters
endpoint
:
Endpoint
Returns
boolean
read
read
(
clusterKey
:
string
|
number
,
attributes
:
(
string
|
number
)
[]
,
options
?:
Options
,
)
:
Promise
<
void
>
Parameters
clusterKey
:
string
|
number
attributes
: (
string
|
number
)
[]
Optional
options
:
Options
Returns
Promise
<
void
>
remove
From
Database
removeFromDatabase
()
:
void
Returns
void
remove
From
Network
removeFromNetwork
()
:
Promise
<
void
>
Returns
Promise
<
void
>
remove
Member
removeMember
(
endpoint
:
Endpoint
)
:
void
Parameters
endpoint
:
Endpoint
Returns
void
save
save
(
writeDatabase
?:
boolean
)
:
void
Parameters
writeDatabase
:
boolean
= true
Returns
void
write
write
(
clusterKey
:
string
|
number
,
attributes
:
KeyValue
,
options
?:
Options
,
)
:
Promise
<
void
>
Parameters
clusterKey
:
string
|
number
attributes
:
KeyValue
Optional
options
:
Options
Returns
Promise
<
void
>
Static
all
all
()
:
Group
[]
Returns
Group
[]
Deprecated
use allIterator()
Static
all
Iterator
allIterator
(
predicate
?:
(
value
:
Group
)
=>
boolean
)
:
Generator
<
Group
>
Parameters
Optional
predicate
:
(
value
:
Group
)
=>
boolean
Returns
Generator
<
Group
>
Static
by
GroupID
byGroupID
(
groupID
:
number
)
:
undefined
|
Group
Parameters
groupID
:
number
Returns
undefined
|
Group
Static
create
create
(
groupID
:
number
)
:
Group
Parameters
groupID
:
number
Returns
Group
Static
inject
Adapter
injectAdapter
(
adapter
:
Adapter
)
:
void
Parameters
adapter
:
Adapter
Returns
void
Static
inject
Database
injectDatabase
(
database
:
Database
)
:
void
Parameters
database
:
Database
Returns
void
Static
reset
Cache
resetCache
()
:
void
Reset runtime lookups.
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
groupID
meta
Accessors
members
Methods
add
Member
command
has
Member
read
remove
From
Database
remove
From
Network
remove
Member
save
write
all
all
Iterator
by
GroupID
create
inject
Adapter
inject
Database
reset
Cache
zigbee-herdsman
Loading...
Deprecated
use allIterator()