MELCloud & MELCloud Home API for Node.js - v23.3.3
GitHub
npm
Preparing search index...
HomeDeviceModel
Class HomeDeviceModel
Mutable wrapper around a HomeDevice, preserving object identity across syncs.
Index
Constructors
constructor
Properties
type
Accessors
data
id
name
Methods
sync
Constructors
constructor
new
HomeDeviceModel
(
device
:
HomeDevice
,
type
:
HomeDeviceType
)
:
HomeDeviceModel
Parameters
device
:
HomeDevice
type
:
HomeDeviceType
Returns
HomeDeviceModel
Properties
Readonly
type
type
:
HomeDeviceType
Accessors
data
get
data
()
:
HomeDevice
Returns
HomeDevice
id
get
id
()
:
string
Returns
string
name
get
name
()
:
string
Returns
string
Methods
sync
sync
(
device
:
HomeDevice
)
:
void
Parameters
device
:
HomeDevice
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
type
Accessors
data
id
name
Methods
sync
GitHub
npm
MELCloud & MELCloud Home API for Node.js - v23.3.3
Loading...
Mutable wrapper around a HomeDevice, preserving object identity across syncs.