Merge branch 'main' of github.com:koush/scrypted

This commit is contained in:
Koushik Dutta
2022-10-03 15:39:46 -07:00
2 changed files with 4 additions and 0 deletions

View File

@@ -327,6 +327,7 @@ class FanState(TypedDict):
counterClockwise: bool
mode: FanMode
speed: float
swing: bool
pass
class FanStatus(TypedDict):
@@ -336,6 +337,7 @@ class FanStatus(TypedDict):
maxSpeed: float
mode: FanMode
speed: float
swing: bool
pass
class HttpRequest(TypedDict):

View File

@@ -289,11 +289,13 @@ export interface FanStatus {
maxSpeed?: number;
counterClockwise?: boolean;
availableModes?: FanMode[];
swing?: boolean;
}
export interface FanState {
speed?: number;
mode?: FanMode;
counterClockwise?: boolean;
swing?: boolean;
}
export interface Fan {
fan?: FanStatus;