def METHOD_NAME(self, Devices):
    deviceid_status_widget = DEVICEID_STATUS_WIDGET + "%02s" % self.HardwareID
    unit = 0
    for x in Devices:
        if Devices[x].DeviceID == deviceid_status_widget:
            unit = x
            break
    if unit != 0:
        return
    unit = self.FreeUnit(Devices)
    widget_name = DEVICEID_STATUS_WIDGET_TXT + " %02s" % self.HardwareID
    myDev = Domoticz.Device(
        DeviceID=deviceid_status_widget, Name=widget_name, Unit=unit, Type=243, Subtype=22, Switchtype=0
    )
    myDev.Create()
    ID = myDev.ID
    if myDev.ID == -1:
        Domoticz.Error("createAdminWidget - Fail to create %s. %s" % (widget_name, str(myDev)))
        return
    self.updateStatusWidget(Devices, "Off")
    return