Type alias PlugSysinfo

PlugSysinfo: CommonSysinfo & SysinfoChildren & ({
    type: "IOT.SMARTPLUGSWITCH" | "IOT.RANGEEXTENDER.SMARTPLUG";
} | {
    mic_type: "IOT.SMARTPLUGSWITCH";
}) & ({
    mac: string;
} | {
    ethernet_mac: string;
}) & {
    brightness?: number;
    dev_name?: string;
    feature: string;
    led_off: 0 | 1;
    relay_state?: 0 | 1;
}

Type declaration

  • Optional brightness?: number
  • Optional dev_name?: string
  • feature: string
  • led_off: 0 | 1
  • Optional relay_state?: 0 | 1

Generated using TypeDoc