Skip to content

Commit

Permalink
Add optional entities property to selectDevice map for enhanced devic…
Browse files Browse the repository at this point in the history
…e management
  • Loading branch information
Luligu committed Jan 9, 2025
1 parent 06d2d51 commit 96c57d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matterbridgePlatform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class MatterbridgePlatform {
public version = ''; // Will be set by the loadPlugin() method using the package.json value.
public storage: NodeStorageManager | undefined;
public context: NodeStorage | undefined;
public selectDevice = new Map<string, { serial: string; name: string; icon?: string }>();
public selectDevice = new Map<string, { serial: string; name: string; icon?: string; entities?: string[] }>();
public selectEntity = new Map<string, { name: string; description: string; icon?: string }>();

/**
Expand Down

0 comments on commit 96c57d6

Please sign in to comment.