This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
DevicePowerManager
github-actions[bot] edited this page Aug 11, 2023
·
2 revisions
-
↳
DevicePowerManager
• new DevicePowerManager(hue
)
Name | Type |
---|---|
hue |
Hue |
• Readonly
cache: Collection
<string
, DevicePower
>
• holds: typeof DevicePower
= DevicePower
src/managers/DevicePowerManager.ts:7
• Readonly
hue: Hue
• type: ResourceType
= ResourceType.DevicePower
src/managers/DevicePowerManager.ts:6
▸ _add(data
): DevicePower
Name | Type |
---|---|
data |
any |
▸ _delete(id
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _get(id
): Promise
<DevicePowerGet
>
Name | Type |
---|---|
id |
string |
Promise
<DevicePowerGet
>
▸ _post(data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
data |
never |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _put(id
, data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
data |
never |
Promise
<ResourceIdentifier
<ResourceType
>[]>