def METHOD_NAME(self, form) -> QState:
    s = QState()
    s.assignProperty(form.editBtn, "enabled", False)
    s.assignProperty(form.saveBtn, "enabled", False)
    s.assignProperty(form.deviceList, "enabled", False)
    s.assignProperty(form.addressEdit, "enabled", True)
    return s