mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
make deviceentity.w mandatory
This commit is contained in:
@@ -131,10 +131,10 @@ export interface DeviceValue {
|
|||||||
n: string; // name
|
n: string; // name
|
||||||
c: string; // command
|
c: string; // command
|
||||||
l: string[]; // list
|
l: string[]; // list
|
||||||
h?: string; // help text
|
h?: string; // help text, optional
|
||||||
s?: string; // steps for up/down
|
s?: string; // steps for up/down, optional
|
||||||
m?: string; // min
|
m?: string; // min, optional
|
||||||
x?: string; // max
|
x?: string; // max, optional
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DeviceData {
|
export interface DeviceData {
|
||||||
@@ -147,7 +147,7 @@ export interface DeviceEntity {
|
|||||||
n: string; // name
|
n: string; // name
|
||||||
s: string; // shortname
|
s: string; // shortname
|
||||||
m: number; // mask
|
m: number; // mask
|
||||||
w?: boolean; // writeable
|
w: boolean; // writeable
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface MaskedEntities {
|
export interface MaskedEntities {
|
||||||
|
|||||||
Reference in New Issue
Block a user