CHANGE: removed some defaults in basemodel, to create less in toJSON
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { MQTTEntity } from './mqtt_base';
|
||||
|
||||
export class MqttLight extends MQTTEntity {
|
||||
pl_on: string = '1';
|
||||
pl_off: string = '0';
|
||||
pl_on: string = '';
|
||||
pl_off: string = '';
|
||||
val_tpl: string = '';
|
||||
bri_cmd_t: string = 'brightness/command/topic';
|
||||
_cmd_t: string = 'command/topic';
|
||||
|
||||
Reference in New Issue
Block a user