diff --git a/sdk/gen/types.input.ts b/sdk/gen/types.input.ts index 2c3dabe3c..39f253936 100644 --- a/sdk/gen/types.input.ts +++ b/sdk/gen/types.input.ts @@ -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; } diff --git a/sdk/types/index.d.ts b/sdk/types/index.d.ts index c75d54b36..95357d52f 100644 --- a/sdk/types/index.d.ts +++ b/sdk/types/index.d.ts @@ -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; } diff --git a/sdk/types/index.ts b/sdk/types/index.ts index 785c3d866..211685caa 100644 --- a/sdk/types/index.ts +++ b/sdk/types/index.ts @@ -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; }