Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Implement prettier #7702

Merged
merged 8 commits into from
Jun 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/devices/lixee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1757,8 +1757,7 @@ const definitions: Definition[] = [
(value, index, self) =>
index ===
self.findIndex(
(t) =>
t.property === value.property, // Remove duplicates
(t) => t.property === value.property, // Remove duplicates
),
);
} else {
Expand Down
10 changes: 3 additions & 7 deletions src/devices/ubisys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,9 @@ const ubisys = {
let operationalStatus = 0;
do {
await sleepSeconds(2);
operationalStatus = (
await entity.read(
'closuresWindowCovering',
['operationalStatus'],
)
// @ts-expect-error
).operationalStatus;
operationalStatus =
// @ts-expect-error
(await entity.read('closuresWindowCovering', ['operationalStatus'])).operationalStatus;
Koenkk marked this conversation as resolved.
Show resolved Hide resolved
} while (operationalStatus != 0);
await sleepSeconds(2);
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export interface KeyValueString {
export interface KeyValueNumberString {
[s: number]: string;
}
// eslint-disable-next-line
export interface KeyValueAny {
// eslint-disable-next-line
Koenkk marked this conversation as resolved.
Show resolved Hide resolved
[s: string]: any;
}
export type Publish = (payload: KeyValue) => void;
Expand Down
Loading