Version 1.0 working Entity creation and string generator

This commit is contained in:
2024-05-28 07:44:21 +02:00
parent 46eee5d726
commit 13e15a24b7
50 changed files with 13956 additions and 128 deletions

View File

@@ -0,0 +1,8 @@
import { DEVICE_CLASS, MQTTEntity } from "./mqtt_base";
export class MqttSwitch extends MQTTEntity {
dev_cla: DEVICE_CLASS = 0
cmd_t: string = "command/topic";
pl_on: string = "1";
pl_off: string = "0";
}