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
GroupedLightManager
github-actions[bot] edited this page Aug 11, 2023
·
46 revisions
-
↳
GroupedLightManager
• new GroupedLightManager(hue
)
Name | Type |
---|---|
hue |
Hue |
• Readonly
cache: Collection
<string
, GroupedLight
>
• holds: typeof GroupedLight
= GroupedLight
src/managers/GroupedLightManager.ts:8
• Readonly
hue: Hue
• type: ResourceType
= ResourceType.GroupedLight
src/managers/GroupedLightManager.ts:7
▸ _add(data
): GroupedLight
Name | Type |
---|---|
data |
any |
▸ _delete(id
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _get(id
): Promise
<GroupedLightGet
>
Name | Type |
---|---|
id |
string |
Promise
<GroupedLightGet
>
▸ _post(data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
data |
never |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _put(id
, data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
data |
GroupedLightPut |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ edit(id
, options
): Promise
<void
>
Name | Type |
---|---|
id |
string |
options |
GroupedLightEditOptions |
Promise
<void
>