Version 1.0 working Entity creation and string generator
This commit is contained in:
9
src/app/_models/mqtt-light.ts
Normal file
9
src/app/_models/mqtt-light.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { MQTTEntity } from "./mqtt_base";
|
||||
|
||||
export class MqttLight extends MQTTEntity {
|
||||
cmd_t: string = "command/topic";
|
||||
bri_cmd_t: string = "brightness/command/topic";
|
||||
pl_on: string = "1";
|
||||
pl_off: string = "0";
|
||||
val_tpl: string = "";
|
||||
}
|
||||
Reference in New Issue
Block a user