sdk: update tampered state

This commit is contained in:
Koushik Dutta
2022-05-17 19:52:09 -07:00
parent f138d30f71
commit 59cfc5adab
3 changed files with 3 additions and 3 deletions

View File

@@ -729,7 +729,7 @@ export interface Settings {
export interface BinarySensor {
binaryState?: boolean;
}
export type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover';
export type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover' | true;
export interface TamperSensor {
tampered?: TamperState;
}

View File

@@ -831,7 +831,7 @@ export interface Settings {
export interface BinarySensor {
binaryState?: boolean;
}
export declare type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover';
export declare type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover' | true;
export interface TamperSensor {
tampered?: TamperState;
}

View File

@@ -1473,7 +1473,7 @@ export interface Settings {
export interface BinarySensor {
binaryState?: boolean;
}
export type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover';
export type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover' | true;
export interface TamperSensor {
tampered?: TamperState;
}