zigbee-herdsman
Preparing search index...
controller/model/zigbeeEntity
ZigbeeEntity
Class ZigbeeEntity
Abstract
Hierarchy (
View Summary
)
Entity
ZigbeeEntity
Endpoint
Group
Index
Constructors
constructor
Methods
command
read
write
inject
Adapter
inject
Database
Constructors
constructor
new
ZigbeeEntity
(
options
?:
EventEmitterOptions
)
:
ZigbeeEntity
Parameters
Optional
options
:
EventEmitterOptions
Returns
ZigbeeEntity
Methods
Abstract
command
command
<
Cl
extends
string
|
number
,
Co
extends
string
|
number
,
Custom
extends
undefined
|
TCustomCluster
=
undefined
,
>
(
clusterKey
:
Cl
,
commandKey
:
Co
,
payload
:
ClusterOrRawPayload
<
Cl
,
Co
,
Custom
>
,
options
?:
KeyValue
,
)
:
Promise
<
undefined
|
KeyValue
>
Type Parameters
Cl
extends
string
|
number
Co
extends
string
|
number
Custom
extends
undefined
|
TCustomCluster
=
undefined
Parameters
clusterKey
:
Cl
commandKey
:
Co
payload
:
ClusterOrRawPayload
<
Cl
,
Co
,
Custom
>
Optional
options
:
KeyValue
Returns
Promise
<
undefined
|
KeyValue
>
Abstract
read
read
<
Cl
extends
string
|
number
,
Custom
extends
undefined
|
TCustomCluster
=
undefined
,
>
(
clusterKey
:
Cl
,
attributes
:
ClusterOrRawAttributeKeys
<
Cl
,
Custom
>
,
options
?:
KeyValue
,
)
:
Promise
<
undefined
|
ClusterOrRawAttributes
<
Cl
,
Custom
>
>
Type Parameters
Cl
extends
string
|
number
Custom
extends
undefined
|
TCustomCluster
=
undefined
Parameters
clusterKey
:
Cl
attributes
:
ClusterOrRawAttributeKeys
<
Cl
,
Custom
>
Optional
options
:
KeyValue
Returns
Promise
<
undefined
|
ClusterOrRawAttributes
<
Cl
,
Custom
>
>
Abstract
write
write
<
Cl
extends
string
|
number
,
Custom
extends
undefined
|
TCustomCluster
=
undefined
,
>
(
clusterKey
:
Cl
,
attributes
:
PartialClusterOrRawWriteAttributes
<
Cl
,
Custom
>
,
options
?:
KeyValue
,
)
:
Promise
<
void
>
Type Parameters
Cl
extends
string
|
number
Custom
extends
undefined
|
TCustomCluster
=
undefined
Parameters
clusterKey
:
Cl
attributes
:
PartialClusterOrRawWriteAttributes
<
Cl
,
Custom
>
Optional
options
:
KeyValue
Returns
Promise
<
void
>
Static
inject
Adapter
injectAdapter
(
adapter
:
Adapter
)
:
void
Parameters
adapter
:
Adapter
Returns
void
Static
inject
Database
injectDatabase
(
database
:
Database
)
:
void
Parameters
database
:
Database
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
command
read
write
inject
Adapter
inject
Database
zigbee-herdsman
Loading...