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