File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,20 @@ export class SmartHQDishWasher extends deviceBase {
6060 return
6161 }
6262
63+ // Debug: Log what's actually in the Matter API
64+ this . infoLog ( `Matter API available. Keys: ${ Object . keys ( matterAPI ) . join ( ', ' ) } ` )
65+ this . infoLog ( `Matter API.uuid: ${ typeof matterAPI . uuid } = ${ matterAPI . uuid ? 'exists' : 'missing' } ` )
66+ this . infoLog ( `Matter API.deviceTypes: ${ typeof matterAPI . deviceTypes } = ${ matterAPI . deviceTypes ? 'exists' : 'missing' } ` )
67+ this . infoLog ( `Matter API.registerAccessory: ${ typeof matterAPI . registerAccessory } ` )
68+
69+ if ( matterAPI . deviceTypes ) {
70+ this . infoLog ( `Available deviceTypes: ${ Object . keys ( matterAPI . deviceTypes ) . join ( ', ' ) } ` )
71+ }
72+
6373 // Verify all required Matter API methods exist
6474 if ( ! matterAPI . uuid || ! matterAPI . deviceTypes || typeof matterAPI . registerAccessory !== 'function' ) {
6575 this . errorLog ( 'Matter API is incomplete (missing required methods) - falling back to HAP' )
76+ this . errorLog ( `Available Matter API keys: ${ Object . keys ( matterAPI ) . join ( ', ' ) } ` )
6677 this . initializeHAP ( )
6778 return
6879 }
You can’t perform that action at this time.
0 commit comments