Skip to content

Commit

Permalink
Fix siren device/driver class names
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvandevijver committed Aug 29, 2024
1 parent 92c8d08 commit 7034aef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/siren/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { constIncludes, getFromMap } from '../../lib/TuyaOAuth2Util';
import { SettingsEvent, TuyaStatus } from '../../types/TuyaTypes';
import { SIREN_CAPABILITIES, SIREN_CAPABILITIES_MAPPING, SIREN_SETTING_LABELS } from './TuyaSirenConstants';

module.exports = class TuyaOAuth2DeviceCamera extends TuyaOAuth2Device {
module.exports = class TuyaOAuth2DeviceSiren extends TuyaOAuth2Device {
async onOAuth2Init(): Promise<void> {
await super.onOAuth2Init();

Expand Down
2 changes: 1 addition & 1 deletion drivers/siren/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '../../types/TuyaApiTypes';
import { SIREN_CAPABILITIES_MAPPING, SIREN_FLOWS, SIREN_SETTING_LABELS } from './TuyaSirenConstants';

module.exports = class TuyaOAuth2DriverHeater extends TuyaOAuth2Driver {
module.exports = class TuyaOAuth2DriverSiren extends TuyaOAuth2Driver {
TUYA_DEVICE_CATEGORIES = [DEVICE_CATEGORIES.SECURITY_VIDEO_SURV.SIREN_ALARM] as const;

async onInit(): Promise<void> {
Expand Down

0 comments on commit 7034aef

Please sign in to comment.