Skip to content

Commit

Permalink
removed binary states (#2655)
Browse files Browse the repository at this point in the history
* removed binary states

* rm main.ts unexisting method

* fix linter

* delete all binary states on setup first
  • Loading branch information
foxriver76 authored Apr 2, 2024
1 parent 1f272f1 commit 818c402
Show file tree
Hide file tree
Showing 20 changed files with 105 additions and 887 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1162,9 +1162,6 @@ Following adapter methods support maintenance mode:
- adapter.getForeignState
- adapter.delForeignState
- adapter.setBinaryState
- adapter.getBinaryState
- adapter.delBinaryState
```

*** Do not use this mode for any other purposes except sanitizing/cleaning/repairing of existing DBs (Object and States)***
Expand Down
19 changes: 0 additions & 19 deletions packages/adapter/src/lib/_Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,6 @@ export interface InternalSubscribeOptions {
callback?: ioBroker.ErrorCallback;
}

export interface InternalSetBinaryStateOptions {
id: string;
options?: Record<string, any> | null;
binary: Buffer;
callback?: ioBroker.SetStateCallback;
}

export interface InternalAddChannelToEnumOptions {
enumName: string;
addTo: string;
Expand Down Expand Up @@ -443,18 +436,6 @@ export interface InternalGetStatesOptions {
callback: ioBroker.GetStatesCallback;
}

export interface InternalGetBinaryStateOption {
id: string;
options: Record<string, any>;
callback?: ioBroker.GetBinaryStateCallback;
}

export interface InternalDelBinaryStateOptions {
id: string;
options: Record<string, any>;
callback?: ioBroker.ErrorCallback;
}

export interface InternalDeleteDeviceOptions {
deviceName: string;
callback?: ioBroker.ErrorCallback;
Expand Down
Loading

0 comments on commit 818c402

Please sign in to comment.