Skip to content

Commit d89b292

Browse files
committed
Update LutronCasetaLeapMatterPlatform.ts
1 parent 8193c06 commit d89b292

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/LutronCasetaLeapMatterPlatform.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { DeviceWireResultType, LutronCasetaLeap } from './platform.js'
77
import { PLATFORM_NAME, PLUGIN_NAME } from './settings.js'
88

99
interface MatterAccessoryFields {
10-
deviceType: number
10+
deviceType: number[]
1111
manufacturer: string
1212
model: string
1313
serialNumber: string
@@ -88,7 +88,7 @@ export class LutronCasetaLeapMatterPlatform extends LutronCasetaLeap {
8888
let matterFields: MatterAccessoryFields | undefined
8989
if (typeof d.DeviceType === 'string' && d.DeviceType.toLowerCase().includes('pico')) {
9090
matterFields = {
91-
deviceType: MatterDeviceType.RemoteControl,
91+
deviceType: [MatterDeviceType.RemoteControl],
9292
manufacturer: 'Lutron Electronics',
9393
model: (d.ModelNumber || d.DeviceType || 'Pico Remote').toString(),
9494
serialNumber: d.SerialNumber?.toString() || uuid,

0 commit comments

Comments
 (0)