dirigera
Version:
A TypeScript client for IKEA's DIRIGERA smart home hub
41 lines (38 loc) • 931 B
text/typescript
import type { SceneUpdatedEvent } from '../../src/index.ts'
const event: SceneUpdatedEvent = {
id: '00000000-0000-0000-0000-000000000000',
time: '2000-01-01T00:00:00.000Z',
specversion: '3.145.0',
source: 'urn:com:ikea:homesmart:iotc:rulesengine',
type: 'sceneUpdated',
data: {
id: '00000000-0000-0000-0000-000000000000',
info: {
name: 'Scene',
icon: 'scenes_brightness_up',
},
type: 'userScene',
triggers: [
{
id: '00000000-0000-0000-0000-000000000000',
type: 'app',
disabled: false,
},
],
actions: [
{
id: '00000000-0000-0000-0000-000000000000',
type: 'device',
deviceId: '00000000-0000-0000-0000-000000000000',
enabled: true,
attributes: {
isOn: true,
},
},
],
commands: [],
createdAt: '2000-01-01T00:00:00.000Z',
undoAllowedDuration: 30,
},
}
event