-
Notifications
You must be signed in to change notification settings - Fork 1
DeviceManager
• new DeviceManager(hue
)
Name | Type |
---|---|
hue |
Hue |
• Readonly
cache: Collection
<string
, Device
>
• holds: typeof Device
= Device
src/managers/DeviceManager.ts:8
• Readonly
hue: Hue
• type: ResourceType
= ResourceType.Device
src/managers/DeviceManager.ts:7
▸ _add(data
): Device
Name | Type |
---|---|
data |
any |
▸ _delete(id
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _get(id
): Promise
<DeviceGet
>
Name | Type |
---|---|
id |
string |
Promise
<DeviceGet
>
▸ _post(data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
data |
never |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _put(id
, data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
data |
DevicePut |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ delete(id
): Promise
<void
>
Name | Type |
---|---|
id |
string |
Promise
<void
>
src/managers/DeviceManager.ts:20
▸ edit(id
, options
): Promise
<void
>
Name | Type |
---|---|
id |
string |
options |
ArcheTypeResourceEditOptions |
Promise
<void
>
src/managers/DeviceManager.ts:14
▸ identify(id
): Promise
<void
>
Name | Type |
---|---|
id |
string |
Promise
<void
>