Skip to content

Commit

Permalink
disable speaker accessory, because home app is limited
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalusan committed Sep 6, 2024
1 parent 1fe7833 commit 055f299
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { API, Characteristic, DynamicPlatformPlugin, Logging, PlatformAcces

import { DefaultPlatformAccessory } from './defaultAccessory.js';
import { CleanRoomsPlatformAccessory } from './cleanRoomsAccessory.js';
import { SpeakerPlatformAccessory } from './speakerAccessory.js';
import { PLATFORM_NAME, PLUGIN_NAME } from './settings.js';

import { createRequire } from 'module';
Expand Down Expand Up @@ -87,18 +86,6 @@ export class EufyRobovacHomebridgePlatform implements DynamicPlatformPlugin {
new DefaultPlatformAccessory(this, accessory);
},
},
{
displayName: () => {
return `${this.config.name} Speaker`;
},
uuid: () => {
return this.api.hap.uuid.generate(`${this.config.name}-${this.config.ip}-speaker`);
},
make: (accessory: PlatformAccessory) => {
new SpeakerPlatformAccessory(this, accessory);
},
},

];

const roomSwitches = this.config.roomSwitches;
Expand Down

0 comments on commit 055f299

Please sign in to comment.